Re: Relatively simple PHP function to block sql injection
| From: | Niel Archer | Date: | Wed, 05 Aug 2009 05:37:12 +0000 |
| Subject: | Re: Relatively simple PHP function to block sql injection | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29506@lists.php.net to get a copy of this message | ||
> Haven't gotten around to really looking for this too much, and currently
> really only replace any single 's with double ones before performing an
> insert into MySQL, but was just wondering if there are any 'standard' PHP
> functions out there that get used to block any form of attempted sql
> injection?
>
> TIA
If you search the PHP Db list archives you'll find this question comes
up regularly, with the answers.
>
> Jacob Kruger
> Blind Biker
> Skype: BlindZA
> '...fate had broken his body, but not his spirit...'
--
Niel Archer