PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Bug Tracker (http://www.phpdig.net/forum/forumdisplay.php?f=27)
-   -   Problem with MySQL 4.1 (http://www.phpdig.net/forum/showthread.php?t=2528)

machek 08-05-2006 03:28 AM

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.


All times are GMT -8. The time now is 02:11 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.