Re: invalid range

From: Date: Mon, 02 Dec 2002 21:19:27 +0000
Subject: Re: invalid range
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-126764@lists.php.net to get a copy of this message
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" <peter@atomik.nu> wrote in message news:5.1.0.14.2.20021202215947.01dd5200@mail.atomik.nu... 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

« previous php.general (#126764) next »