Did check them, it suggested that it was an optional library! I'll look into ereg_replace.
Thanks CJ "Coert Metz" <[EMAIL PROTECTED]> wrote in message news:3DD3C27A.9070504@;metzonline.nl... > PHP also supports regular expressions > Check the manual at php.net for more information > (ereg_replace a.s.o) > > Coert > > Cj wrote: > > I want to scan the variables passed from teh url of my script for non alpha > > characters. The variables should only consist of a-z A-Z 0-9 and spaces, > > full stops and commas (Basically I don't want scripts to be passed via the > > variable to the server) > > > > I've used perl a long time ago and its regular expressions seemed ideal for > > this kind of thing. Can enybody suggest a scrip to remove unwanted > > characters from my variable? > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php