RE: [PHP] My own "captcha" from 2 years ago......
| From: | tedd | Date: | Mon, 26 Mar 2007 21:05:23 +0000 |
| Subject: | RE: [PHP] My own "captcha" from 2 years ago...... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251425@lists.php.net to get a copy of this message | ||
At 2:56 PM -0500 3/26/07, Richard Lynch wrote:
On Sun, March 25, 2007 9:49 am, Jake McHenry wrote:Yep, that's the way to do it. Create a key at the start, place it in a session, call your Captcha image maker via src, and display the image. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comDo I call the image creation file in an html <img tag? I've tried a bunch of things, and this is the only way I've been able to display the image inline so far, without the image headers blocking the rest of my output....There is no such thing as "inline" image, so just forget that. Yes, you just use a SRC in an IMG tag to point to a PHP script. That PHP script can just use session_start() and get the secret key.