Re: I'm not sure how to do some simple code...

From: Date: Sat, 26 Jan 2002 17:48:44 +0000
Subject: Re: I'm not sure how to do some simple code...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-82228@lists.php.net to get a copy of this message
Have a look around: http://www.php.net/strip_tags Regarding simple matches, consider: http://uk.php.net/stristr And who knows, maybe you want: http://us.php.net/htmlspecialchars Learn about if/else: http://au.php.net/else Regards, Philip Olson On Fri, 25 Jan 2002, Leif K-Brooks wrote: > I know this is probably a stupid question, but how do I make it so that if a > string contains the word "script" (I'm banning javascript) it does > something? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#82228) next »