Reply to Re: PDOException : get the bad query with exception handler
Posted by Captain Paralytic on 02/19/07 13:50
On 19 Feb, 12:58, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> Why do you want to know the offending SQL query anyway? If you report
> it back to the user, it could reveal a vulnerability in your code,
> which could be used by a malicious user as a weak point to break into.
Maybe he wants to log it somewhere.