Spammers have started filling out the forms on my site. About 1/2 the form I can reduce to check boxes and radio buttons. However, for name, address, comments and similar fields, spammers are putting in their vile messages.
$ghost = $_POST['comments'];
A typical input ($ghost) might be something like:
"I'm interested in such and such. Can you please send me info about blah."
In most cases, the spammers will put a URL (or series of URLs) in the comments field. It looks something like:
"Come visit my site www.vileimagery.com for the best vile imagery."
How do I check the input ($ghost) for a URL in the midst of all the other text.