Hi All
I'm trying to combat some SPAM coming through on a booking form. It's all the usual rubbish.
I've been searching to find the php code that would do the following
if ($msg contains http:// or www.) {echo "Please don't put links in the comments - it looks like SPAM";}
else
email me (all this is already working)
I only know enough php to alter the sendmail from to my needs so far and can't work out (or find through google) the syntax to write this.
Would really appreciate any help you could offer.
Thanks