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

From: Date: Sat, 26 Jan 2002 04:41:19 +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-82200@lists.php.net to get a copy of this message
$mystring = "This is a string with the word script in it"; if(eregi("script",$mystring){ //do something here } ----- Original Message ----- From: "Leif K-Brooks" <eurleif@buyer-brokerage.com> To: <php-general@lists.php.net> Sent: Friday, January 25, 2002 8:12 PM Subject: [PHP] I'm not sure how to do some simple code... > 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 (#82200) next »