-- [EMAIL PROTECTED]
> Does anybody have a way to deal with user input containing a '\' from a
> cgi form into a mysql database?
> Or do I have to do regex to escape user input, escape the database input
> and escape the database out for every db query or insert ?
>
> Not a complaint but just looking for a better way.
Given that MySQL has to interpret the strings, there isn't
any way to insulate yourself at the Perl level (e.g., by
using single-quotes). Short of treating the data as blobs,
you're stuck escaping them for MySQL.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582