View Single Post
Old 08-05-2006, 03:28 AM   #1
machek
Green Mole
 
Join Date: Jan 2005
Posts: 2
Problem with MySQL 4.1

When I upgraded database to MySQL 4.1. i had small problem. Text in table phpdigspider was not correctly inserted. There was problem with couple characters.

Was neccessery to add toline 1200 file admin\robot_functions.php to:

mysql_query("SET NAMES 'PHPDIG_ENCODING'");
...
$requete = "INSERT INTO ".PHPDIG_DB_PREFIX."spider SET path='$path',file='$file',first_words='$first_words',upddate='$upddate',md5 ='$md5',site_id='$site_id',num_words='$num_words',last_modified='$lastmodif ied',filesize=".(int)$filesize;

Maybe it was sorted out somewhere, but i didn't find solution.
machek is offline   Reply With Quote