midPhase Web Hosting - $7.95/month - 500 GB B/W!
 
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read Web Directory

Go Back   Webmaster Forum > Designing and Developing Websites > Programming > PHP / MySQL

PHP / MySQL Discussions and help on PHP and MySQL.

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-17-2007, 01:49 PM
killerkev06 killerkev06 is offline
Persona Non Grata
 
Join Date: Mar 2007
Posts: 124
iTrader: (0)
killerkev06 is on a distinguished road
Default Image verification scripts

Hi guys,

I wanted to add an image verification function on to my 'add blog' page as I have been experiencing some bot spamming.

Any recommendations on php scripts?

Cheers

Kev
Reply With Quote
Sponsored Links
Register and sign in to hide this ad block

  #2 (permalink)  
Old 03-17-2007, 05:18 PM
technoguy technoguy is offline
WMG Citizen
 
Join Date: Mar 2007
Posts: 436
iTrader: (0)
technoguy is on a distinguished road
Default

You have provide me solution for GD pie chart. Simple image script can be done by gd only. Just put string into image and you can use it for verification.

One mroe thing i have seen on various forums is that you should use not only image verification but just fetch two random numbers and ask them to add two numbers and add them in text box.

Its funny but it works.
Reply With Quote
  #3 (permalink)  
Old 03-18-2007, 02:43 AM
lame.crusher lame.crusher is offline
Persona Non Grata
 
Join Date: Mar 2007
Posts: 127
iTrader: (0)
lame.crusher is on a distinguished road
Default

CAPTCHA, as that technique is called, is very, very, very, very, very bad for accessibility. It takes only a slight visual impairment for it to completely stump a real person.

There are other ways to do the same thing - one way is to ask a question in a way that requires human intelligence to answer, like "how do you spell apple" or "what colour is an orange". You can change the question every few weeks or months as required.
Reply With Quote
  #4 (permalink)  
Old 03-18-2007, 04:32 AM
chopstickles chopstickles is offline
WMG Resident Alien

Recent Blog: I hate spam!
 
Join Date: Mar 2007
Location: Makati City, Philippines
Posts: 74
iTrader: (0)
chopstickles is on a distinguished road
Default

Google could probably help you out, this is one I found:
http://www.webcheatsheet.com/php/cre...protection.php
Reply With Quote
  #5 (permalink)  
Old 03-19-2007, 04:40 PM
alphaRomeo alphaRomeo is offline
WMG Resident Alien
 
Join Date: Mar 2007
Posts: 242
iTrader: (1)
alphaRomeo is on a distinguished road
Default

Quote:
Originally Posted by chopstickles View Post
Google could probably help you out, this is one I found:
http://www.webcheatsheet.com/php/cre...protection.php
Thanks for the link. I was looking for something like this. I have spammers using the "Recommend this site" form on one of my websites to send spam.
__________________
Advertise your websites on my signature. $5/month.
Reply With Quote
  #6 (permalink)  
Old 03-20-2007, 04:53 AM
nickvd nickvd is offline
WMG Newcomer
 
Join Date: Mar 2007
Posts: 17
iTrader: (0)
nickvd is on a distinguished road
Lightbulb

My first post here... Hello!

The method that has worked for me the best is to use oddly named fields in your forms, so instead of this:
HTML Code:
<form action="" method="post">
  Name:<input type="text" name="name" /> 
  Email: <input type="text" name="email" />
  Message: <textarea name="message"></textarea>
  <input type="submit" value="Send Message"/>
</form>
You would use:
HTML Code:
<form action="" method="post">
  Name:<input type="text" name="input_field_one" /> 
  Email: <input type="text" name="input_field_two" />
  Message: <textarea name="input_field_three"></textarea>
  <input type="submit" value="Send Message"/>
</form>
After switching my contact form (which a copy gets sent to my cell phone, so you can see the severe need for it to stop) the spam stopped instantly.

You only need to remember (or leave comments in your code) which fields are which, so this method may not be suitable for larger, more complex forms, but for the smaller ones it can be a life-saver. The best part is that the user is completely un-aware of any difference, since it's just the name attribute that get's changed.
Reply With Quote
  #7 (permalink)  
Old 03-20-2007, 10:42 AM
blokey blokey is offline
WMG Resident Alien
 
Join Date: Mar 2007
Posts: 93
iTrader: (0)
blokey is on a distinguished road
Default

That's an interesting method, but aren't spambots also reading form labels?
Reply With Quote
  #8 (permalink)  
Old 03-20-2007, 02:33 PM
technoguy technoguy is offline
WMG Citizen
 
Join Date: Mar 2007
Posts: 436
iTrader: (0)
technoguy is on a distinguished road
Default

Yes we cannot make complete proof system but we can make difficult for spambot to read. I was just thinking about to do some trick which keeps little difficult for someone.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT. The time now is 06:17 AM.



Freelance Web Designers
Work At Home Forum
Ad Marketplace
Online Deals and Bargains
Ad Marketplace and Auctions Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0