PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   unicode symbol x5e emties keywords (http://www.phpdig.net/forum/showthread.php?t=2265)

em286 11-24-2005 04:48 AM

unicode symbol x5e emties keywords
 
Hey. I have installed phpdig on
PHP Version 5.0.4
Apache 2.0
mysql 4.1.7.

When I run the spider, it says everythign is ok and pages are indexed, but when I go back to admin interface I see that there's no any keyword in the table. I've tried to find the problem and have found the following.
there're mb_ereg_replace functions in code with the pattern of

^([\x00-\x1f]|[\x21-\x2c]|[\x2e-\x2f]|[\x3a-\x40]|[\x5b-\x60]|[\x7b-\x7f])+

if we delete [\x5b-\x60] or change the pattern to the following

^([\x00-\x1f]|[\x21-\x2c]|[\x2e-\x2f]|[\x3a-\x40]|[\x5b-\x5d]|[\x5f-\x60]|[\x7b-\x7f])+

everything works ok.

Question: why???????

flujan 11-24-2005 11:58 AM

unicode symbol x5e emties keywords
 
:confused:

Where is exactly this function?

Regards, Facundo


All times are GMT -8. The time now is 02:46 PM.

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