Re: A good function

From: Date: Thu, 29 May 2003 15:02:27 +0000
Subject: Re: A good function
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-149423@lists.php.net to get a copy of this message
how about stripslashes(); http://www.php.net/manual/en/function.stripslashes.php HTH Shaun "Dan Joseph" <djoseph@duhq.us> wrote in message news:GHEOLLAIKHCPIJMHLDCGOEBOCGAA.djoseph@duhq.us... > Hi, > > Have a look at: > http://us2.php.net/manual/en/function.ereg-replace.php > > That might do what you want. > > -Dan Joseph > > > What is a good function for striping white space and removing > > \\..\.. and possible "," Anything that would be considered > > unwanted user input??? > > > > I looked at trim() but its doesnt do all the things I need it to do. >

« previous php.general (#149423) next »