Captcha

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
arun.infoseek
Forum Newbie
Posts: 1
Joined: Tue Nov 27, 2007 1:53 pm

Captcha

Post by arun.infoseek »

Hello Every One

Today I Join devnetwork group.

Today i am try to generate captcha code.please give me captcha code.

so [s]pls[/s] please solve my problem.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
Last edited by arun.infoseek on Wed Nov 28, 2007 11:37 am, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You have not posted enough information to provide a problem for us to "solve."
User avatar
waradmin
Forum Contributor
Posts: 240
Joined: Fri Nov 04, 2005 2:57 pm

Post by waradmin »

You could just generate random numbers (not very secure) and use that as your 'code' and then require that code to be submitted with a form or something to verify.

example:

Code: Select all

$code = rand(100000, 999999);
...
// display form
...

if($code != $form_field)
{
     // error out
}
else
{
     // do something
}
Post Reply