Re: Sterilize user input function

From: Date: Sun, 09 Sep 2001 10:51:10 +0000
Subject: Re: Sterilize user input function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66595@lists.php.net to get a copy of this message
On Sunday 09 September 2001 04:46, Kevin wrote: > I think my question could be restated to: What characters are > potentially lethal in user input. I can do the regex. But don't know > what to parse out of the strings. > > would removing \ / . do the trick? You mean http://php.net/addslashes I suppose. Also read through the config section (magic_quotes_*) -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka", but "That's funny..." - Isaac Asimov

« previous php.general (#66595) next »