View Single Post
Old 07-15-2004, 10:03 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Two small tweaks for those who downloaded PhpDig 1.8.3 before the date of this post:

In robot_functions.php find:
PHP Code:
//extracts title
if ( eregi("<title *>([^<>]*)</title *>",$text,$regs) ) {
    
$title $regs[1];
}
else {
    
$title "";

and replace with:
PHP Code:
//extracts title
if ( eregi("<title *>([^<>]*)</title *>",$text,$regs) ) {
    
$title trim($regs[1]);
}
else {
    
$title "";

In config.php find:
PHP Code:
// turn off magic_quotes_runtime for escaping purposes
@ini_set("magic_quotes_runtime","0");
// turn off magic_quotes_sybase for escaping purposes
@ini_set("magic_quotes_sybase","0"); 
and replace with:
PHP Code:
// turn off magic_quotes_runtime for escaping purposes
@ini_set("magic_quotes_runtime",false);
// turn off magic_quotes_sybase for escaping purposes
@ini_set("magic_quotes_sybase",false); 
__________________
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