Hi. Did you miss me? I've been retired/not coding for a few months because of our idiot governor...but I digress...
Anyway, I am picking up some old personal php/MySQL projects that I have had on a host I subscribed to years ago. I noticed that one page was no longer working and investigated it today. A MySQL table that should have had fewer than 1000 records suddenly had 750,000! With a new record being added every couple of minutes. The content of the records had to do with stuff like Cialis, Viagra, payday cash loans, and all kinds of other similar crap.
My question is how does (and why would) someone want to put this crap in my table? and, what can one do to prevent this sort of thing from happening again?
(I seem to have momentarily fixed the problem by renaming the table....and changing the page coding to point to the new table name)