View Single Post
Old 03-25-2004, 05:34 AM   #7
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Speaking of & versus & there is a small bug in version 1.8.0 when PHPDIG_SESSID_REMOVE is set to true. To fix do the following.

In robot_functions.php find:
PHP Code:
$eval str_replace("&&","&",$eval);
$eval eregi_replace("[?][&]","?",$eval);
$eval eregi_replace("&$","",$eval); 
and replace with:
PHP Code:
$eval str_replace("&&","&",$eval);
$eval str_replace("?&","?",$eval);
$eval eregi_replace("&$","",$eval); 
Also, in robot_functions.php find:
PHP Code:
$file str_replace("&&","&",$file);
$file eregi_replace("[?][&]","?",$file);
$file eregi_replace("&$","",$file); 
and replace with:
PHP Code:
$file str_replace("&&","&",$file);
$file str_replace("?&","?",$file);
$file eregi_replace("&$","",$file); 
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote