![]() |
simple help needed from php expert :)
hi
i'm getting plagued by spammers using spambots, including some cp spam that i just recieved, so i desperately need to prevent spambots. I'm no programmer but i've done a little script where i link to my script with for example: http://mydomain.com/email.php?webmaster i then have an email table in my database with email addresses corresponding to in this example webmaster. The script includes the following code: Quote:
my problem is that when you click that link above it opens an email ok, but also opens a blank white page. what i need to do is either get the blank white page to automatically click back to the page where the link was clicked, or alternatively if i use target="_blank" close the white webpage whilst leaving the origional page and email still open. If anyone knows how to do that or an alternative method it would be appreciated :) although my description probably isn't to clear. I'm aware this will probably only stop spambots that crawl my page btw (at least i hope it will ) thanks in advance Roly |
So, you're not actually having a PHP problem. :)
Anyways, luckily for you I also know some hahahahahahahahahaha ... From what I read a simple onClick="hahahahahahahahahaha: return false;" should likely work? Not sure though.... Replace the hahahahahahahahahaha with "java script" without the space or quotes... Cheers, Matt |
Btw, your PHP code format is messy... and your mySQL query string should use = and not LIKE ... :)
Cheers, Matt |
Thanks Matt
I'm assuming that it was java script that is th banned word, i'll have a look around Quote:
Thanks again |
Quote:
Cheers, Matt |
Quote:
|
Quote:
Cheers, Matt |
Quote:
Did the java script work ? Cheers, Matt |
Quote:
So i'll give the hahahahahahahahahaha a go cheers Roly |
Here is a link to a java script that will protect your email from webbots:
http://www.js-x.com/example/?ex=159&...&COLOR_OFF=YES Tim |
what they said...:winkwink:
|
Quote:
cheers roly |
An email crawler can see that email ... but... anyways..
Cheers, Matt |
I was being lazy earlier too. You don't need to make a $contact variable .... Yah, I'm tired.
Cheers, Matt |
This is a bit weird. Why would you even try using something like this against spambots?
A few real solutions: Use hahahahahahahahahaha (see above) Use a picture with your email address on it Use a contact form on your website Make a spambot trap |
Quote:
Cheers, Matt |
All times are GMT -7. The time now is 04:16 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123