RE: [PHP] My own "captcha" from 2 years ago......

From: Date: Mon, 26 Mar 2007 19:59:49 +0000
Subject: RE: [PHP] My own "captcha" from 2 years ago......
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-251409@lists.php.net to get a copy of this message
On Sun, March 25, 2007 9:02 pm, Jake McHenry wrote: > In image.php is this: > > <?php > session_start(); > > ..........captcha code...... > $_SESSION['code'] = rand(blahblahblah) to get the random code Arooo? Don't randomize the code you're going to put on the image here. Make up a secret/random/obvious 'code' at the very beginning of the process and DON'T CHANGE IT. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#251409) next »