|
| |
|
|
craigj1303
Posts: 46 Joined: 5/16/2007 Status: offline
|
PHP captcha problem - 3/27/2009 9:58:18
Open Source PHP Captcha problem I have been receiving copious amounts of SPAM through my "request a quote" form. Having investigated prevention techniques I found an Open Source PHP Captcha solution at www.phpcaptcha.org. I followed the instructions and implemented in to my code but although the captcha image is visible I am still able to submit the form without entering anything. The form also still submits when I deliberately enter a completely incorrect code! My request a quote form can be found at http://www.digitalcolours.co.uk/estimator.html I have uploaded the code I am using for you to view simply in txt format here: http://www.digitalcolours.co.uk/estimatorhtml.txt http://www.digitalcolours.co.uk/estimator.txt If anyone can see any reason why the captcha isn't working please let me know. I have left a message on the board of the open source site but nothing has been updated on there since Aug 2008 so unsure whether I will receive a reply. Alternatively, if anyone has any "simple" way to implement a protection for my form from Spambots I would appreciate it if you can let me know! Thanks & Rgs Craig
|
|
|
|
craigj1303
Posts: 46 Joined: 5/16/2007 Status: offline
|
RE: PHP captcha problem - 4/1/2009 13:31:16
I like the look of your protection Tailslide, the trouble is that I am no expert on PHP either. I downloaded your contactform.txt file and had a look. The way my form works is that I have the form contained in a .html page which when submitted goes to a .php page for processing. I don't understand why you have all that PHP in the same page as your contact form when the action script is in a seperate file called contact-form.php? When I look at the source code from your contact page the form action is contactform.html. I also thought the action had to be a php file?
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|