PDA

View Full Version : unicode symbol x5e emties keywords


em286
11-24-2005, 03:48 AM
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, 10:58 AM
:confused:

Where is exactly this function?

Regards, Facundo