note 72028 deleted from function.mysql-real-escape-string by nlopess
| From: | nlopess@php.net | Date: | Fri, 29 Dec 2006 19:57:24 +0000 |
| Subject: | note 72028 deleted from function.mysql-real-escape-string by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-121020@lists.php.net to get a copy of this message | ||
Note Submitter: Chad Ladensack
----
http://whitemarker.blogspot.com provides a prime
example on how to avoid sql injection. However, the following needs to be completed in order for
the function to work.
$arg_list = func_num_args();
the above line needs to be replaced with...
$arg_list = func_get_args();