Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
contact form security - php
Old 02-15-2008, 05:43 AM contact form security - php
coldturkey's Avatar
Extreme Talker

Posts: 211
Name: Rachel
Location: Spain
Trades: 3
I have done some forms for contact pages - information is sent via 'GET' and email is recived. Never a problem untill now.
Ive started to get spam sent to me via form - so i now whatt to put one of those security boxes where you have to write the number or letters in the box.
No idea how to go about this.
Any advice or places to look for a code - or even just the name of this kinda thing so i can google it.

Many thanks
Rachel
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

coldturkey is offline
Reply With Quote
View Public Profile Visit coldturkey's homepage!
 
 
Register now for full access!
Old 02-15-2008, 06:29 AM Re: contact form security - php
RadGH's Avatar
Skilled Talker

Posts: 76
Name: Radley
Trades: 0
You're looking for a captcha.
RadGH is offline
Reply With Quote
View Public Profile
 
Old 02-15-2008, 05:35 PM Re: contact form security - php
Mattmaul1992's Avatar
Ultra Talker

Posts: 486
Name: Matt
Trades: -1
If it's all coming from one IP just ban that IP to save users the effort of filling out a capthca. Their sorta a pain in the @$$. But this will only work until someone else starts to spam you :P.
__________________
PHP Code:
$talkupation++; 

Please login or register to view this content. Registration is FREE
- Free IPB forum hosting (releasing today!!!), no ads, free modifications
Mattmaul1992 is offline
Reply With Quote
View Public Profile
 
Old 02-15-2008, 05:38 PM Re: contact form security - php
coldturkey's Avatar
Extreme Talker

Posts: 211
Name: Rachel
Location: Spain
Trades: 3
Quote:
Originally Posted by Mattmaul1992 View Post
If it's all coming from one IP just ban that IP to save users the effort of filling out a capthca. Their sorta a pain in the @$$. But this will only work until someone else starts to spam you :P.

Ahuff - but i just installed it!!!
Argh!!!! - I'll stick with it for now - but thanks!!!
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

coldturkey is offline
Reply With Quote
View Public Profile Visit coldturkey's homepage!
 
Old 02-15-2008, 05:44 PM Re: contact form security - php
Mattmaul1992's Avatar
Ultra Talker

Posts: 486
Name: Matt
Trades: -1
Lol :P went through all that work. O well you would have had to do it sooner or later. Good luck.
__________________
PHP Code:
$talkupation++; 

Please login or register to view this content. Registration is FREE
- Free IPB forum hosting (releasing today!!!), no ads, free modifications
Mattmaul1992 is offline
Reply With Quote
View Public Profile
 
Old 02-20-2008, 05:47 AM Re: contact form security - php
RadGH's Avatar
Skilled Talker

Posts: 76
Name: Radley
Trades: 0
Captchas are a pain... But I've seen alternatives done, such as single letter captcha that rather than being a random letter is a random number.

Actually, theres two random numbers.

And a random operator.

Basically, theres an image that adds/subtracts numbers together and you choose from a list of answers which one is right.

Example (square brackets being an image):

[24] [+] [13]
A: 37
B: 35
C: 13
D: 47

Theres a 1 in 4 chance to guess it though. But thats 1/4 less spam and you just have to click a button rather than type a string. You can also use a text field, but you might as well use a captcha then.


Theres also some that ask simple questions that bots wouldnt guess, like:

What hat is not worn
[Picture of light bulb]
[Picture of lady wearing hat]
[Picture of hat on a stand]
[Picture of a cheeseburgey]

These ones are sometimes pretty funny too, except you have to manually get the images and write the questions.
RadGH is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to contact form security - php
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22794 seconds with 12 queries