note 45042 added to function.mysql-escape-string
| From: | m dot lelong at fotovista dot com | Date: | Tue, 24 Aug 2004 09:01:51 +0000 |
| Subject: | note 45042 added to function.mysql-escape-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-79819@lists.php.net to get a copy of this message | ||
/**
* This is the first step for total secure database system.
* For efficient work, you need to encode every query !!
* Check this work out and feel secure ;)
*
* @param $Var Data to protect
*
* @return Encoded data
*/
function QueryEncode($data)
{
return addslashes($data);
}
For further informations, ask me !
Even if I'm quite busy (you know, guru php ... ) I can help !
----
Manual Page -- http://www.php.net/manual/en/function.mysql-escape-string.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45042
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45042&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45042&report=yes
Search -- http://master.php.net/manage/user-notes.php