First of all, I am not 100% sure about right board for this post. mods, if it's in wrong place, please move where it should be. Thanks. I am tracking all failed sql queries on my site in a separate log table. This table holds "Referrer" page url and "current page" url where sql error was detected. something like this. Referrer: www.example.com/mypage.htm Page: /images/abcde.jpg Error: 1064 -- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version..... Notice current page url is an image. How is it possible? Is it a super level hacking attempt or anything else? Please suggest.