Curious Error, anyone have a guess?

2009-02-07 Thread mikesz
Hello mysql, On one of my sites, I have a query that logs attempts to access the site by potential bad guys. It has been working for more than a year with out a problem. Today, I got a database error because an unescaped ' in one of the arrays that I collect. When I check the error I

Re: Curious Error, anyone have a guess?

2009-02-07 Thread Michael Dykman
Are you attempting to escape that string? If not, you should be The UserAgent header can't be trusted because every browser vendor has the liberty to do pretty much what they want to it (there is no consistent standard) and some browsers (ie. Opera) allow users to set the UserAgent to any