Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL Injection Errors on Spam for Submissions
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 06/19/2013 :  14:54:38  Show Profile  Reply with Quote
I manage a sql database for one client who happens to operate a funeral home. We use a "Tribute Submission" page that puts their tributes into a database awaiting my approval or removal of them before they are posted to a deceased's tribute page. I am getting spam submissions of SQL injection errors around 300-900 per day. This is my error code that shows....

Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 42 in /home/content/23/8106623/html/Skradski/tributes.php on line 178

Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 42 in /home/content/23/8106623/html/Skradski/tributes.php on line 179

and I am getting submissions that look like this:

Tribute for:

New York
queens science museum
quinn travel insurance
rain water harvesting pictures

What can I add to my tribute.php page to stop these postings from being submitted into my approval/disapproval database? It is taking me almost 2 hours a day to clean out all the spam submissions.

Any helpful suggestions?

Thank you.

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 06/20/2013 :  00:57:41  Show Profile  Reply with Quote
you seem to be using my-sql seeing the warning messages. This is a forum dedicated to MS SQL Server product so there wont be enough expertise on my-sql found here. You may be better off posting this in some mysql forums. there's one at

SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000