looks like because you have a dash inside your character class; when inside
a character class the dash is a special character and you'd have to escape
it
eregi("^([a-z���_\.\- ]+)$", $value);
"Peter A" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
when I do this
eregi("^([a-z���_\.- ]+)$",$value);
I get this:
Warning: Invalid range end in
/home/zinekweb/public_html/corporate/_mcm_contacts_upload.php on line 42
Why?
I running Apache1.3 on my XP machine with PHP 4.2something.. but when I
upload to a RedHat7.2 server with Apache.1.3 and PHP4.0something I get this
error.
Can anyone help me out here? Any clues?
/peter a
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php