How to Protect Against SQL Injection Attacks While Using SQLite?
| From: | NotReally GonnaTell | Date: | Sun, 10 Feb 2008 19:38:28 +0000 |
| Subject: | How to Protect Against SQL Injection Attacks While Using SQLite? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-269056@lists.php.net to get a copy of this message | ||
Hello all, I am wondering how I should prevent SQL injection attacks while
using SQLite, MySQL has the trusted mysqli_real_escape_string,
but SQLite doesn't have it's own custom function, i've tried str_replace in
my code, but SQLite returns an error whenever I use a '. I've tried googling
around, but I haven't found anything useful.