note 95474 deleted from language.types.type-juggling by danbrown
| From: | danbrown@php.net | Date: | Mon, 04 Jan 2010 23:00:08 +0000 |
| Subject: | note 95474 deleted from language.types.type-juggling by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164648@lists.php.net to get a copy of this message | ||
Note Submitter: master.yoda at t-com.me
----
If I cast input to integer and use it in SQL query, I guess I am safe from mysql injection attack...
or am I?
I noticed that if input was some string starting with non-numeric, casted value will be zero.