note 40744 added to security
| From: | BrunoCanongia-Brazil at rn2 dot php dot net | Date: | Fri, 12 Mar 2004 19:40:27 +0000 |
| Subject: | note 40744 added to security | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-66749@lists.php.net to get a copy of this message | ||
$myVar = $addslashes($trim($myVar))
It will solve a lot of problems of sql injection
=)
----
Manual Page -- http://www.php.net/manual/en/security.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40744
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40744&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40744&report=yes
Search -- http://master.php.net/manage/user-notes.php