URL falsch geschrieben
Hallo,
habe in letzter Zeit beobachtet das sich meine URL komisch schreibt. Die normale URL der Startseite schaut ja normal so aus:
wenn ich aber auf Startseite oder einen anderen Link in den Navigationen klicke schaut die URL so aus:
Also wir waren vorher bei einem anderen Webanbieter und sind zu All-Inclusive.com gewechselt und bin mir eigentlich sicher das dies damals nicht so war.
Weiß jemand wie man des wieder normal hinbekommt?
Gruss
habe in letzter Zeit beobachtet das sich meine URL komisch schreibt. Die normale URL der Startseite schaut ja normal so aus:
|
|
Quellcode |
1 |
http://www.german-front-storm.com/include.php?path=start.php |
wenn ich aber auf Startseite oder einen anderen Link in den Navigationen klicke schaut die URL so aus:
|
|
Quellcode |
1 |
http://www.german-front-storm.com/include.php?path=start.php&PHPKITSID=f7757f4541fd0002e97c7793b5d93006 |
Also wir waren vorher bei einem anderen Webanbieter und sind zu All-Inclusive.com gewechselt und bin mir eigentlich sicher das dies damals nicht so war.
Weiß jemand wie man des wieder normal hinbekommt?
Gruss
Ich wärme den Thread mal wieder auf. Die Lösung von Joe hat ja funktioniert aber leider nicht überall. Also im Forum Index als Beispiel ist es weg klickt man aber einen Post/Thread direkt an ist diese &PHPKITSID=".session_id()); exit();} noch da. Nun habe ich mir mal die showthread.php angeschaut und als letztes in den Links steht immer....
wie muss man das denn löschen, ersetzen oder kürzen damit diese langen Adressen nicht mehr erscheinen? Dooki hatte da wohl mal vor langer Zeit was dazu geschrieben nur leider sind diese Archive nicht mehr gültig und hier im Forum habe ich leider nix gefunden.
Gruss
|
|
Quellcode |
1 |
&PHPKITSID=".session_id()); exit();} |
wie muss man das denn löschen, ersetzen oder kürzen damit diese langen Adressen nicht mehr erscheinen? Dooki hatte da wohl mal vor langer Zeit was dazu geschrieben nur leider sind diese Archive nicht mehr gültig und hier im Forum habe ich leider nix gefunden.
Gruss
Ich habe jetzt mal ein bissl getestet und zwar mit der showthread.php.
Habe folgendes mit Proton gesucht:
und gelöscht.
Dann habe ich folgendes gesucht:
und habe es durch das ersetzt:
Also funktionieren tut es bis hierher nur weiß ich jetzt nicht ob das so richtig ist und ob sich daraus später Fehler in anderen Bereichen einschleichen. Könnte da mal jemand drüber schauen bitte.
So schaut jetzt die showthread.php aus:
Gruss
Habe folgendes mit Proton gesucht:
|
|
Quellcode |
1 |
."&PHPKITSID=".session_id() |
und gelöscht.
Dann habe ich folgendes gesucht:
|
|
Quellcode |
1 |
&PHPKITSID=".session_id()); exit();} |
und habe es durch das ersetzt:
|
|
Quellcode |
1 |
"); exit();} |
Also funktionieren tut es bis hierher nur weiß ich jetzt nicht ob das so richtig ist und ob sich daraus später Fehler in anderen Bereichen einschleichen. Könnte da mal jemand drüber schauen bitte.
So schaut jetzt die showthread.php aus:
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
<?php
include ("forum/kopf.php");
if (!$threadid>0) {header ("location: include.php?path=forum/main.php"); exit();}
elseif ((getrights($forumcat['forumcat_rrights'])=="true" || userrights($forumcat['forumcat_mods'],$forumcat['forumcat_rrights'])=="true" || userrights($forumcat['forumcat_user'],$forumcat['forumcat_rrights'])=="true")) {
if ($forumthread['forumthread_title']!='') $config['site_title'].=" - ".htmlentities($forumthread['forumthread_title']);
if (userrights($forumcat['forumcat_mods'])=="true" && $_POST['actionmod']=="Go" && isset($_POST['quick_mod']) && $_POST['quick_mod']!="-1") {
$quick_mod=$_POST['quick_mod'];
if ($quick_mod=='cs0' || $quick_mod=='cs1' || $quick_mod=='cs2' || $quick_mod=='cs3') {
if ($quick_mod=='cs0') $cs=0;
elseif ($quick_mod=='cs1') $cs=1;
elseif ($quick_mod=='cs2') $cs=2;
elseif ($quick_mod=='cs3') $cs=3;
$DB->query("UPDATE ".$db_tab['forumthread']." SET forumthread_status='".$cs."' WHERE forumthread_id='".$threadid."'");
}
elseif (intval($quick_mod)>0) $DB->query("UPDATE ".$db_tab['forumthread']." SET forumthread_catid='".$quick_mod."' WHERE forumthread_id='".$threadid."'");
elseif ($quick_mod=="del") {header("location: include.php?path=forum/moderate.php&threadid=".$threadid."&alter_delete=1"); exit();}
header("location: include.php?path=forum/showthread.php&threadid=".$threadid.""); exit();}
}
if (intval($_REQUEST['entries'])>0) $entries=$_REQUEST['entries'];
else $entries=0;
if (isset($_REQUEST['postid'])) {
$postid=$_REQUEST['postid'];
if ($postid=='new') $sqlcommand="AND forumpost_time>'".$posttime."' ORDER by forumpost_time ".$config['forum_postorder'];
elseif ($postid=='last') $sqlcommand="ORDER by forumpost_time DESC";
else $sqlcommand=" AND forumpost_id='".intval($postid)."'";
$info=$DB->fetch_array($DB->query("SELECT forumpost_time, forumpost_id FROM ".$db_tab['forumpost']." WHERE forumpost_threadid='".$threadid."' ".$sqlcommand." LIMIT 1"));
if ($info['forumpost_id']>0) {
if ($config['forum_postorder']=='ASC') $sqlcommand='<';
else $sqlcommand='>';
$cinfo=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['forumpost']." WHERE forumpost_time".$sqlcommand."='".$info['forumpost_time']."' AND forumpost_threadid='".$threadid."'"));
if ($cinfo[0]>$forumcat['forumcat_posts']) {
$entries=0;
while (($entries+$forumcat['forumcat_posts'])<$cinfo[0]) {
$entries=$entries+$forumcat['forumcat_posts'];
}
}
if ($forum_style[0]!=1) {header ("location: include.php?path=forum/showthread.php&threadid=".$threadid."&entries=".$entries."#post".$info['forumpost_id']); exit();}
}
else unset($postid);
}
$postcount=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['forumpost']." WHERE forumpost_threadid='".$threadid."'"));
$replycount=$postcount[0]-1;
if (!$postcount[0]>0 && !$catid) {header("location: include.php?path=fourm/main.php"); exit();}
elseif (!$postcount[0]>0 && $catid>0) {header("location: include.php?path=fourm/showcat.php&catid=".$catid.""); exit();}
elseif ($postcount[0]>0) {
if (!eregi("forum/showthread.php&threadid=".$threadid."",$record_referer)) {
$lastpost=$DB->fetch_array($DB->query("SELECT forumpost_autor, forumpost_autorid, forumpost_time FROM ".$db_tab['forumpost']." WHERE forumpost_threadid='".$threadid."' ORDER by forumpost_time DESC LIMIT 1"));
$DB->query("UPDATE ".$db_tab['forumthread']." SET forumthread_viewcount=forumthread_viewcount+1,forumthread_replycount='".$replycount."', forumthread_lastreply_autor='".$lastpost['forumpost_autor']."',forumthread_lastreply_autorid='".$lastpost['forumpost_autorid']."',forumthread_lastreply_time='".$lastpost['forumpost_time']."' WHERE forumthread_id='".$threadid."'");
}
if ($postcount[0]!=1) {$s="s";}
if ($user_id!=0) {
$newpost=$DB->fetch_array($DB->query("SELECT forumpost_id FROM ".$db_tab['forumpost']." WHERE forumpost_threadid='".$threadid."' AND forumpost_time>'".$posttime."' ORDER by forumpost_time ASC LIMIT 1"));
if ($newpost['forumpost_id']>0) eval ("\$newpostlink= \"".getTemplate("forum/showthread_newpostlink")."\";");
}
if ($forum_style[0]!=1) $sqlcommand=" LIMIT ".$entries.", ".$forumcat['forumcat_posts'];
else unset($sqlcommand);
$getforumpost=$DB->query("SELECT * FROM ".$db_tab['forumpost']." WHERE forumpost_threadid='".$forumthread['forumthread_id']."' ORDER by forumpost_time ".$config['forum_postorder'].$sqlcommand);
unset($firstpost);
unset($sqlcommand);
while ($forumpost=$DB->fetch_array($getforumpost)) {
$post_cache[$forumpost['forumpost_id']]=$forumpost;
if (!$firstpost) $firstpost=$forumpost;
if ($forumpost['forumpost_autorid']>0) {
if ($sqlcommand) $sqlcommand.=" OR user_id='".$forumpost['forumpost_autorid']."'";
else $sqlcommand="SELECT * FROM ".$db_tab['user']." WHERE user_id='".$forumpost['forumpost_autorid']."'";
}
}
if ($sqlcommand) {
$getuserinfo=$DB->query($sqlcommand);
while ($userinfo=$DB->fetch_array($getuserinfo)) {$user_cache[$userinfo['user_id']]=$userinfo;}
}
foreach($post_cache as $forumpost) {
if ($forum_style[0]==0 || ($forum_style[0]==1 && ($postid==$forumpost['forumpost_id'] || $postid==""))) {
$row=rowcolor($row);
if ($forumpost['forumpost_autorid']>0) $userinfo=$user_cache[$forumpost['forumpost_autorid']];
if ($userinfo['user_id']>0) {
if (isonline($userinfo['user_id'])) eval ("\$info_os= \"".getTemplate("member_os_online")."\";");
else eval ("\$info_os= \"".getTemplate("member_os_offline")."\";");
if ($userinfo['user_status']=='admin' && $userinfo['user_sex']=='w') eval ("\$post_autor_status= \"".getTemplate("forum/showthread_userstatus_admin_w")."\";");
elseif ($userinfo['user_status']=='admin') eval ("\$post_autor_status= \"".getTemplate("forum/showthread_userstatus_admin")."\";");
elseif ($userinfo['user_status']=="mod" && $userinfo['user_sex']=='w') eval ("\$post_autor_status= \"".getTemplate("forum/showthread_userstatus_mod_w")."\";");
elseif ($userinfo['user_status']=="mod") eval ("\$post_autor_status= \"".getTemplate("forum/showthread_userstatus_mod")."\";");
if ($userinfo['user_posts']==0) {
$postings=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['forumpost']." WHERE forumpost_autorid='".$userinfo['user_id']."'"));
$DB->query("UPDATE ".$db_tab['user']." SET user_posts='".$postings[0]."' WHERE user_id='".$userinfo['user_id']."' LIMIT 1");
$userinfo['user_posts']=$postings[0];
}
$post_count=postcount($userinfo['user_posts'],$userinfo['user_postdelay'],0);
if (trim($userinfo['user_hpage'])!='') {
if (ereg("http://",$userinfo['user_hpage'])) $info_link=$userinfo['user_hpage'];
else $info_link='http://'.$userinfo['user_hpage'];
eval ("\$info_hpage= \"".getTemplate("forum/member_hpage_iconlink")."\";");
}
if ($userinfo['user_emailshow']==1) {
if ($config['member_mailer']==1) eval ("\$info_email= \"".getTemplate("forum/member_email_iconlink2")."\";");
else eval ("\$info_email= \"".getTemplate("forum/member_email_iconlink")."\";");
}
if ($userinfo['user_icqid']>0) eval ("\$info_icq= \"".getTemplate("forum/member_icq_iconlink")."\";");
if ($userinfo['user_imoption']==1) eval ("\$info_im= \"".getTemplate("forum/member_sendim_iconlink")."\";");
if ($config['avatar_eod']!=0 && $userinfo['user_avatar']!="" && filecheck($config['avatar_path'].'/'.$userinfo['user_avatar'])) {
$avatar_dimension=@getimagesize($config['avatar_path']."/".$userinfo['user_avatar']);
eval ("\$avatar_show= \"".getTemplate("user_avatar_show")."\";");
}
if ($USER['sigoption']!=0 && trim($userinfo['user_sig'])!='') {
$info_sig=$PARSE->parse($userinfo['user_sig'], 0,$config['text_ubb'],$config['text_smilies'],$config['text_images'],1);
eval ("\$info_sig= \"".getTemplate("member_signatur")."\";");
}
eval ("\$info_user= \"".getTemplate("forum/member_userinfo_iconlink")."\";");
eval ("\$post_autor= \"".getTemplate("forum/member_showprofil_textlink")."\";");
eval ("\$info_buddie= \"".getTemplate("forum/member_buddie_iconlink")."\";");
}
if (($forumthread['forumthread_status']==1 || $forumthread['forumthread_status']==2) && (getrights($forumcat['forumcat_wrights'])=="true" || userrights($forumcat['forumcat_mods'],$forumcat['forumcat_rrights'])=="true" || userrights($forumcat['forumcat_user'],$forumcat['forumcat_rrights'])=="true")) eval ("\$quote_answer=\"".getTemplate("forum/showthread_quote")."\";");
if (($forumpost['forumpost_autorid']==$USER['id'] && $USER['id']>0 && ($forumthread['forumthread_status']==1 || $forumthread['forumthread_status']==2)) || userrights($forumcat['forumcat_mods'])=="true") eval ("\$post_edit= \"".getTemplate("forum/showthread_edit")."\";");
if ($forumpost['forumpost_icon']!='') {
$post_icon="icons/".$forumpost['forumpost_icon'];
eval ("\$post_icon= \"".getTemplate("forum/showthread_row_posticon")."\";");
}
if ($post_autor=='') {
eval ("\$info_os= \"".getTemplate("guest_os_icon")."\";");
$post_autor=htmlentities($forumpost['forumpost_autor']);
$post_count=$lang['guest'];
}
if ($forumpost['forumpost_editcount']>0) {
$edit_time=formattime($forumpost['forumpost_edittime']);
eval ("\$edit_message= \"".getTemplate("forum/showthread_row_editmessage")."\";");
}
if (userrights($forumcat['forumcat_mods'])=="true") eval ("\$post_ip= \"".getTemplate("forum/showthread_ip")."\";");
else eval ("\$post_ip= \"".getTemplate("forum/showthread_report")."\";");
$post_time=formattime($forumpost['forumpost_time']);
$post_title=htmlentities($forumpost['forumpost_title']);
$post_text=$PARSE->parse($forumpost['forumpost_text'],0,$forumpost['forumpost_bbcode'],$forumpost['forumpost_smilies'],$config['forum_images'],1);
eval ("\$showthread_row.= \"".getTemplate("forum/showthread_row")."\";");
if ($y<$forumpost['forumpost_time']) {
$x=$forumpost['forumpost_threadid'];
$y=$forumpost['forumpost_time'];
}
unset($avatar_show);
unset($post_icon);
unset($info_sig);
unset($post_autor_status);
unset($edit_time);
unset($post_count);
unset($post_autor);
unset($info_os);
unset($userinfo);
unset($post_edit);
unset($info_user);
unset($info_email);
unset($info_im);
unset($info_hpage);
unset($info_icq);
unset($info_buddie);
unset($edit_message);
unset($post_ip);
if ($forum_style[0]==1) {break;}
}
}
$i=$isreaded_thread_id[$x];
if ($y>$i[1]) $HTTP_SESSION_VARS['isreaded_thread_id'][$x]=$_SESSION['isreaded_thread_id'][$x]=$isreaded_thread_id[$x]=array($x,$y);
if ($forum_style[0]==1) {
foreach($post_cache as $forumpost) {
if (!$postid>0) $postid=$firstpost['forumpost_id'];
if ($forumpost['forumpost_autorid']>0) $userinfo=$user_cache[$forumpost['forumpost_autorid']];
if ($userinfo['user_id']>0) eval ("\$post_autor= \"".getTemplate("forum/member_showprofil_textlink")."\";");
if ($post_autor=='') {
$post_autor=$forumpost['forumpost_autor'];
$post_count=$lang['guest'];
}
if ($forumpost['forumpost_title']=='') $forumpost['forumpost_title']=$firstpost['forumpost_title'];
if ($forumpost['forumpost_id']!=$firstpost['forumpost_id']) {
eval ("\$tree_spacer= \"".getTemplate("forum/showthread_tree_row_spacer")."\";");
if ($forumpost['forumpost_reply']>0) {
$replyto=$forumpost['forumpost_reply'];
while ($replyto>0) {
eval ("\$tree_spacer.= \"".getTemplate("forum/showthread_tree_row_iconline")."\";");
$id=$post_cache[$replyto];
$replyto=$id['forumpost_reply'];
}
}
}
if ($forumpost['forumpost_icon']!='') {
$post_icon='icons/'.$forumpost['forumpost_icon'];
eval ("\$post_icon= \"".getTemplate("forum/showthread_tree_row_posticon")."\";");
}
else eval ("\$post_icon= \"".getTemplate("forum/showthread_tree_row_icondir")."\";");
$post_time=formattime($forumpost['forumpost_time']);
if ($postid==$forumpost['forumpost_id']) eval ("\$showthread_tree_row.= \"".getTemplate("forum/showthread_tree_row_highlight")."\";");
else eval ("\$showthread_tree_row.= \"".getTemplate("forum/showthread_tree_row")."\";");
unset($post_time);
unset($post_autor);
unset($tree_spacer);
unset($id);
}
eval ("\$showthread_tree= \"".getTemplate("forum/showthread_tree")."\";");
}
else $sidelink=sidelinkfull($postcount[0],$forumcat['forumcat_posts'],$entries,'include.php?path=forum/showthread.php&threadid='.$forumthread['forumthread_id'],'sitebodysmall');
if ($forumthread['forumthread_status']==1) $thread_statusinfo=$lang['open'];
elseif ($forumthread['forumthread_status']==2) $thread_statusinfo=$lang['fixed'];
elseif ($forumthread['forumthread_status']==3) $thread_statusinfo=$lang['fixed'].' & '.$lang['closed'];
else $thread_statusinfo=$lang['closed'];
if ($USER['sigoption']==1) {$setsig=0; $sigoption=$lang['hide'];}
else {$setsig=1; $sigoption=$lang['show'];}
if ($forum_style[0]==1) eval ("\$board_style= \"".getTemplate("forum/showthread_boardstyle_board")."\";");
else eval ("\$board_style= \"".getTemplate("forum/showthread_boardstyle_tree")."\";");
if ($USER['id']>0) {
eval ("\$add_favorit= \"".getTemplate("forum/showthread_addfavorit")."\";");
if (userrights($forumcat['forumcat_mods'])=="true") {
if (is_array($forumcat_cache_byname)) {
foreach($forumcat_cache_byname as $catinfo) {
if ((getrights($catinfo['forumcat_rrights'])=="true" || userrights($catinfo['forumcat_mods'],$catinfo['forumcat_rrights'])=="true" || userrights($catinfo['forumcat_user'],$catinfo['forumcat_rrights'])=="true") && $catinfo['forumcat_id']!=$catid) eval ("\$quickmod_catlist.= \"".getTemplate("forum/showthread_quickmod_option")."\";");
}
}
eval ("\$showthread_quickmod= \"".getTemplate("forum/showthread_quickmod")."\";");
eval ("\$thread_moderate= \"".getTemplate("forum/showthread_moderate")."\";");
}
}
if ($forumthread['forumthread_votetitle']!='') {
unset($showthread_vote_rows);
unset($row);
unset($i);
$getforumvote=$DB->query("SELECT * FROM ".$db_tab['forumvote']." WHERE forumvote_threadid='".$threadid."' ORDER by forumvote_id ASC");
while($forumvote=$DB->fetch_array($getforumvote)) {
$i=$i+$forumvote['forumvote_count'];
$forumvote_cache[]=$forumvote;
}
if (is_array($forumvote_cache)) {
foreach ($forumvote_cache as $forumvote) {
$row=rowcolor($row);
if ($i>0) $forumvote_percent=number_format((($forumvote['forumvote_count']*100)/$i),0,",",".");
else $forumvote_percent=0;
$vote_answer=stripslashes(htmlentities($forumvote['forumvote_answer']));
eval ("\$showthread_vote_rows.= \"".getTemplate("forum/showthread_vote_row")."\";");
unset($vote_answer);
unset($forumvote_percent);
}
}
if ($showthread_vote_rows) {
$showthread_vote_title=htmlentities($forumthread['forumthread_votetitle']);
eval ("\$showthread_vote= \"".getTemplate("forum/showthread_vote")."\";");
}
}
$removeto=urlencode($current_path);
eval ("\$site_body.= \"".getTemplate("forum/showthread")."\";");
}
else {$event=1; include ("admin/config/event.php");}
include ("forum/fuss.php");
?>
|
Gruss
Egal wer das ließt, meinen letzten Post bitte [size=18]NICHT[/size] nachmachen. Das ganze hatte einen sehr schweren Nachteil gehabt und zwar:
Man hat eine Hauptkategorie mit dem Namen 1
Leserechte: Gast
Schreibrechte: Miglied
Vollrechte: Mitglied
In diese Hauptkategorie kommt eine Unterkategorie mit dem Namen 1.1
Leserechte: Administrator
Schreibrechte: Administrator
Vollrechte: Administrator
Mit diesen Einstellungen bedeutet dies das jeder den Threadtitel sieht aber nur Administratoren den Post lesen und antworten können. Das soll in dem Fall auch so sein. Wenn man jetzt die Änderung macht und ein Administrator zu diesem Thread was schreibt kann jeder User (vielleicht auch Gäste da bin ich mir aber nicht sicher) den Thread nicht nur sehen sondern sich ihn auch durchlesen. Kleiner Fehler große Wirkung
Man hat eine Hauptkategorie mit dem Namen 1
Leserechte: Gast
Schreibrechte: Miglied
Vollrechte: Mitglied
In diese Hauptkategorie kommt eine Unterkategorie mit dem Namen 1.1
Leserechte: Administrator
Schreibrechte: Administrator
Vollrechte: Administrator
Mit diesen Einstellungen bedeutet dies das jeder den Threadtitel sieht aber nur Administratoren den Post lesen und antworten können. Das soll in dem Fall auch so sein. Wenn man jetzt die Änderung macht und ein Administrator zu diesem Thread was schreibt kann jeder User (vielleicht auch Gäste da bin ich mir aber nicht sicher) den Thread nicht nur sehen sondern sich ihn auch durchlesen. Kleiner Fehler große Wirkung
[size=24]ARTIKEL VON PHP-GFX.NET[/size]
vorgehensweise:
1. Weaverslave downloaden www.weaverslave.ws
2. das komplette PHPKIT vom FTP in einen NEUEN Ordner runterladen
3. die PHP Dateien vom Rest trennen (html,htm,gif,jpg,png uswuswusw sollen nicht bei sein..) dabei drauf achten das aber die ordnerstruktur beibehalten wird..
also das heruntergeladenen MUSS als backup dienen.. also sollten die heruntergeladenen phpdateien nochmals in einem extra ordner gepackt werden.. dient alles nur der sicherheit..
suche in allen Dateien nach:
&PHPKITSID=".session_id()
ersetze dies mit folgendem:
"
suche in allen Dateien nach:
&PHPKITSID='.session_id()
ersetze dies mit folgendem:
'
suche in allen Dateien nach:
?PHPKITSID=".session_id()
ersetze dies mit folgendem:
"
suche in allen Dateien nach:
?PHPKITSID='.session_id()
ersetze dies mit folgendem:
'
Problem bleibt dennoch bestehen, da vom server aus, die links automatisch mit der PHPKITSID bestückt werden..
dies kann nur mit einer .htaccess oder einer veränderung in der include.php umgangen werden.
in der include.php könnte man an die erste stelle direkt unter dem <?php folgendes setzen:
so.. entweder gehts oder nicht...
sollte es nicht gehen = pech
sollte es gehen.. gut
vorgehensweise:
1. Weaverslave downloaden www.weaverslave.ws
2. das komplette PHPKIT vom FTP in einen NEUEN Ordner runterladen
3. die PHP Dateien vom Rest trennen (html,htm,gif,jpg,png uswuswusw sollen nicht bei sein..) dabei drauf achten das aber die ordnerstruktur beibehalten wird..
also das heruntergeladenen MUSS als backup dienen.. also sollten die heruntergeladenen phpdateien nochmals in einem extra ordner gepackt werden.. dient alles nur der sicherheit..
suche in allen Dateien nach:
&PHPKITSID=".session_id()
ersetze dies mit folgendem:
"
suche in allen Dateien nach:
&PHPKITSID='.session_id()
ersetze dies mit folgendem:
'
suche in allen Dateien nach:
?PHPKITSID=".session_id()
ersetze dies mit folgendem:
"
suche in allen Dateien nach:
?PHPKITSID='.session_id()
ersetze dies mit folgendem:
'
Problem bleibt dennoch bestehen, da vom server aus, die links automatisch mit der PHPKITSID bestückt werden..
dies kann nur mit einer .htaccess oder einer veränderung in der include.php umgangen werden.
in der include.php könnte man an die erste stelle direkt unter dem <?php folgendes setzen:
|
|
PHP-Quelltext |
1 2 3 4 5 6 7 8 9 |
//---> Session ID aus den Links entfernen
// url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
$ini_array=array("a=href","form=");
$ini_get = ini_get("url_rewriter.tags");
foreach($ini_array as $ini_value) {
$ini_get = preg_replace("/^".$ini_value.",/","",preg_replace("/,".$ini_value."/","",$ini_get));
}
ini_set("url_rewriter.tags",$ini_get);
//---> Session ID aus den Links entfernen
|
so.. entweder gehts oder nicht...
sollte es nicht gehen = pech
sollte es gehen.. gut

Zitat
ABER: Alles das ist auf eigene Gefahr und sollte vorher getestet werden.. eventuell mit einer 2. installation oder einer spiegelung der jetzigen
|
Achtung: Dirk Kántor ist unterwegs! Er verteilt gerne Verwarnungen ohne vorher darüber diskutiert zu haben. |
Ähnliche Themen
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
List-Funktion im Forum geht nicht
(16. Januar 2008, 16:47)
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
Eventkalender Bug ? 1.5
(16. Februar 2008, 18:29)
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
Sicherheitscode immer falsch
(3. Februar 2008, 11:28)
-
Web | Programmierung »-
Bestellfomular Syntex Fehler ?>
(27. Dezember 2007, 01:27)
-
Plauderecke »-
Vorstellung der User auf KIT - NETWORK
(25. Dezember 2007, 16:58)


