Ninjakreborn Posted August 21, 2006 Share Posted August 21, 2006 How would I go about getting one of those randomly generated pics with numbers/letters for verification purposes on a site to prevent people from randomly signing up, or bots from randomly signing up. Quote Link to comment Share on other sites More sharing options...
ShogunWarrior Posted August 21, 2006 Share Posted August 21, 2006 Search for "PHP captcha" or go to PHPclasses.org and search for "captcha".It's worthwhile getting one somebody wrote, because there's no point reinventing the wheel when it's simple enough and other people have done it for you. :) Quote Link to comment Share on other sites More sharing options...
shocker-z Posted August 21, 2006 Share Posted August 21, 2006 well you could just have a wordfile.txt containing 1000words and then generate random line number and ad a random number to end also and basicaly store this in a session or in database with users sessionID and then pull it out on next page and compare to the users input.. i personaly just use to generate random numbers and letters and use GD to show the code in an image..Probs not best way in the world but it's a way :)Regardsliam Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 21, 2006 Share Posted August 21, 2006 you could download one from www.digitalmidget.com/php_noob2006/captcha.php Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted August 21, 2006 Author Share Posted August 21, 2006 very helpful, the thing was up and running perfectly in less than 20 seconds. Quote Link to comment Share on other sites More sharing options...
SharkBait Posted August 21, 2006 Share Posted August 21, 2006 [quote author=AndyB link=topic=105088.msg419617#msg419617 date=1156188673]you could download one from www.digitalmidget.com/php_noob2006/captcha.php[/quote]That's the one I recommend. its easy to use and layed out nicely if you need to modify it to your needs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.