Re: Secure data management
| From: | Jeremiah Dodds | Date: | Tue, 04 Oct 2011 19:59:43 +0000 |
| Subject: | Re: Secure data management | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315131@lists.php.net to get a copy of this message | ||
On Tue, Oct 4, 2011 at 2:44 PM, Jim Giner <jim.giner@albanyhandball.com> wrote:
>
> I thought you were supposed to do an addslashes to protect your appl from
> malicious d/e.
>
To protect your app from malicious stuff going to SQL queries, you
should be using prepared statements, see
http://php.net/manual/en/pdo.prepared-statements.php