mandog has asked for the wisdom of the Perl Monks concerning the following question:
I'm working in both PHP and Perl. A PHP script takes various values from untrusted users and stores them in a sqlite database. Periodically, a perl script reads the sqlite database and inserts previously uninserted values into a mysql database on the other side of the internet.
I am limited in the chars I can deny to users.
Inserting into the mysql database, DBI placeholders are fine.On the php side, sqlite_escape_string() seems to be the way to go.
Unfortunately, there does not seem to be a sqlite_udf_decode_binary() for DBI.
Better ideas ?