Jump to content


Photo

random keyword validation


  • Please log in to reply
5 replies to this topic

#1 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 21 August 2006 - 06:46 PM

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.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#2 ShogunWarrior

ShogunWarrior
  • Members
  • PipPipPip
  • Advanced Member
  • 528 posts
  • LocationIreland

Posted 21 August 2006 - 06:53 PM

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. :)
<a href="http://www.daviddora...nmedia.com/">My New Site/Blog</a> | <a href="http://www.daviddora...m/check/">Check your page for broken links/images/scripts</a>

Zend Certified Engineer
Follow me on Twitter: http://twitter.com/davidd

#3 shocker-z

shocker-z
  • Members
  • PipPipPip
  • Advanced Member
  • 864 posts
  • LocationNottingham

Posted 21 August 2006 - 06:54 PM

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 :)

Regards
liam
www: www.ukchat.ws | irc: irc.ukchat.ws chan: #blufudge

#4 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 21 August 2006 - 07:31 PM

you could download one from www.digitalmidget.com/php_noob2006/captcha.php
Legend has it that reading the manual never killed anyone.
My site

#5 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 21 August 2006 - 08:17 PM

very helpful, the thing was up and running perfectly in less than 20 seconds.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#6 SharkBait

SharkBait
  • Members
  • PipPipPip
  • Advanced Member
  • 845 posts
  • LocationMetro Vancouver, BC

Posted 21 August 2006 - 08:59 PM

you could download one from www.digitalmidget.com/php_noob2006/captcha.php


That's the one I recommend. its easy to use and layed out nicely if you need to modify it to your needs.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users