mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
1248359f65
commit
5afd45c16a
1 changed files with 1 additions and 1 deletions
|
@ -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).
|
||||
|
|
Loading…
Reference in a new issue