RE: [PHP-DEV] Re: PHP 4.3.3RC3 Released
| From: | Derick Rethans | Date: | Thu, 14 Aug 2003 08:27:22 +0000 |
| Subject: | RE: [PHP-DEV] Re: PHP 4.3.3RC3 Released | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3911@lists.php.net to get a copy of this message | ||
On Thu, 14 Aug 2003, Steven Brown wrote:
> E.g.,
>
> $id = "0; drop bar";
> lamesql_query("select foo from bar where id = $id");
Well Do'h, how is this a security problem?
Derick
--
"Interpreting what the GPL actually means is a job best left to those
that read the future by examining animal entrails."
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
International PHP Magazine http://php-mag.net/
-------------------------------------------------------------------------