change $in to $ne

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301720 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kristina Chodorow 2010-07-30 14:41:28 +00:00
parent 1248359f65
commit 5afd45c16a

View file

@ -21,7 +21,7 @@
<para>
Someone could subvert this by getting
<emphasis>http://www.example.com?password[$in]=foo</emphasis>, which PHP
<emphasis>http://www.example.com?password[$ne]=foo</emphasis>, which PHP
will magically turn into an associative array, turning your query into
<literal>$collection->find(array("username" => array('$ne' => "foo")))</literal>,
which will return all users not named "foo" (all of your users, probably).