Re: note 17873 added to function.strpos

From: Date: Sun, 30 Dec 2001 20:22:44 +0000
Subject: Re: note 17873 added to function.strpos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23993@lists.php.net to get a copy of this message
On 2001-30-12 08:39, armtuk@yahoo.com wrote: > WARNING! > > > $query="insert into users (user_name) values 'user_name'"; > > if (strpos(strtolower($query),"select")==0) > { > print "FISH!"; > } > > This prints 'FISH!'. in php 4.0.6!!! Thank you for the note, but this is clearly noted in the documentation. -- Zak Greant PHP Quality Assurance Team http://qa.php.net/ "We must be the change we wish to see." - M. K. Ghandi

« previous php.notes (#23993) next »