Re: How to Protect Against SQL Injection Attacks While Using SQLite?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 10, 2008 3:14 PM, NotReally GonnaTell <lithlist@xxxxxxxxx> wrote:

> Is there any other way to do this? I'd rather not use PDO.


what version of php are you using and what version of sqlite?
this relevant info from the manual:
Moreover, since PHP 5.1.0 SQLite depends on
PDO<http://www.php.net/manual/en/ref.pdo.php>
and
SQLite 3 is supported through PDO
SQLite<http://www.php.net/manual/en/ref.pdo-sqlite.php>
.

sqlite3 is quite a bit better than 2, and anyway if you dont want to use
pdo there is sqlite_escape_string().
http://www.php.net/manual/en/function.sqlite-escape-string.php

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux