note 17873 added to function.strpos

From: Date: Sun, 30 Dec 2001 15:39:42 +0000
Subject: note 17873 added to function.strpos
Groups: php.notes 
Request: Send a blank email to php-notes+get-23980@lists.php.net to get a copy of this message
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!!! -- http://www.php.net/manual/en/function.strpos.php http://master.php.net/manage/user-notes.php?action=edit+17873 http://master.php.net/manage/user-notes.php?action=delete+17873 http://master.php.net/manage/user-notes.php?action=reject+17873

« previous php.notes (#23980) next »