Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Programming > PHP Development
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 09-13-2007, 02:50 AM   #1 (permalink)
QvnsQ
Mybuny.com
 
Join Date: Mar 2007
Posts: 1,335
Default PHP Captcha script without gd using text

This is not really a captcha script in the typical sense.

A captcha script is easy to obtain but some hosts do not have the gd library which captcha script rely on. Here is a small script I suggested to someone who asked me how to make a captcha without gd.

The script gets two random numbers, adds them together for the answer. The answer is stored in a session variable. The two numbers are displayed for the user and he/she is asked to answer the math problem.

Why did I use sessions and not a <input type = hidden.... because anyone or any bot can simply look at the page source and see the hidden variable and use that as the answer.

PHP Captcha script without gd using text - HttpSeo.com - SEO Tips & Techniques
QvnsQ is offline   Reply With Quote
Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 10:42 PM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums