Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
08-24-2006, 12:26 AM #1
- Join Date
- Feb 2006
- Thanked 0 Times in 0 Posts
Mb_eregi General Failure (!!!urgent)
I would greatly appreciate a Pro's advice!
I have a script containing MB_EREGI function
While run correctly on some server "a" it fails to run the same way on server "b".
This causes me to believe that there is something that does have to be configured in the PHP settings in order for that function to REALLY handle MULTIBYTE charsets. As a matter of fact, this is the way that function fails - it handles regex check on [some english text] but returns
Warning: mb_eregi(): mbregex compile err: premature end of regular expression in /home/x/wow.php on line 268
when the checked string consists of multibyte characters (windows 1252) encoding for example (as in this case)
Do you have any idea how do I make this work on server "b" as well for I no more have access to server "a" neither to its configuration file?
Please PM anyone who is capable of answering that question to have a look here.
I require immediate assistance which is no later than August 27
08-28-2006, 03:21 AM #2
According to the manual, you must be running PHP 4.2.0 or later to use this function. My guess is that your server "b" isn't doing that.
Providing answers via PM defeats the purpose of having a forum.Please PM anyone who is capable of answering that question to have a look here.