![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 | |
Confirmed User
Join Date: Aug 2002
Posts: 1,844
|
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 ![]() thanks in advance Roly |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 7,817
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 7,817
|
Btw, your PHP code format is messy... and your mySQL query string should use = and not LIKE ...
![]() Cheers, Matt |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Aug 2002
Posts: 1,844
|
Thanks Matt
I'm assuming that it was java script that is th banned word, i'll have a look around Quote:
![]() Thanks again |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 7,817
|
Quote:
Cheers, Matt |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Aug 2002
Posts: 1,844
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 7,817
|
Quote:
Cheers, Matt |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 7,817
|
Quote:
![]() Did the java script work ? Cheers, Matt |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Aug 2002
Posts: 1,844
|
Quote:
So i'll give the hahahahahahahahahaha a go cheers Roly |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Jun 2001
Location: Houston, Texas
Posts: 329
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
2011 GFY Hall of Fame!
Industry Role:
Join Date: Nov 2000
Location: Back in Texas!
Posts: 15,224
|
what they said...
![]()
__________________
Looking for Opportunity! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Aug 2002
Posts: 1,844
|
Quote:
cheers roly |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 7,817
|
An email crawler can see that email ... but... anyways..
Cheers, Matt |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 7,817
|
I was being lazy earlier too. You don't need to make a $contact variable .... Yah, I'm tired.
Cheers, Matt |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
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
__________________
/(bb|[^b]{2})/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 7,817
|
Quote:
![]() ![]() Cheers, Matt |
|
![]() |
![]() ![]() ![]() ![]() ![]() |