Secure data management
| From: | Jim Giner | Date: | Tue, 04 Oct 2011 19:23:43 +0000 |
| Subject: | Secure data management | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-315127@lists.php.net to get a copy of this message | ||
I thought I knew how to do this.
I have a form that collects some data fields. My script checks if magic
quotes are off and (since they are) executes "addslashes" on each input
field. Then I run a query to INSERT these 'slashed' vars into the database.
But when I go to phpadmin on my site the table does not contain any slashes.
Where are they going?