note 72028 added to function.mysql-real-escape-string

From: Date: Fri, 29 Dec 2006 18:51:54 +0000
Subject: note 72028 added to function.mysql-real-escape-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-121018@lists.php.net to get a copy of this message
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(); ---- Server IP: 216.194.113.175 Probable Submitter: 216.109.193.123 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-real-escape-string.php Edit -- https://master.php.net/note/edit/72028 Del: integrated -- https://master.php.net/note/delete/72028/integrated Del: useless -- https://master.php.net/note/delete/72028/useless Del: bad code -- https://master.php.net/note/delete/72028/bad+code Del: spam -- https://master.php.net/note/delete/72028/spam Del: non-english -- https://master.php.net/note/delete/72028/non-english Del: in docs -- https://master.php.net/note/delete/72028/in+docs Del: other reasons-- https://master.php.net/note/delete/72028 Reject -- https://master.php.net/note/reject/72028 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#121018) next »