Original Post
I'm trying to add some parameterized SQL to a particular site written in Perl. But I discover that all it seems to be doing is escaping quotes, which still leaves me vulnerable to injection attacks, and leaves a bunch of slashes in my database that I have to remove whenever I pull anything out. Yuck. So then I tried PHP. At first it seemed to work, but it turns out it does the same thing, only it escapes single quotes instead of double quotes like Perl did. They can't even agree on what kinds of quotes need to be escaped? Or is this not really a problem with PHP or Perl and instead I should blame MySQL 4? If so, does MySQL 5 support parameterized SQL any better?