RE: [PHP] My own "captcha" from 2 years ago......
| From: | Jake McHenry | Date: | Mon, 26 Mar 2007 20:57:52 +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-251422@lists.php.net to get a copy of this message | ||
The try again button doesn't work...
And geez.... I had this working ok the entire time.... When I saw yours it
hit me... I don't have a form..... It would never echo out the code to
match whats in the picture... When the form is submitted it will check.. But
I didn't have it on a form... I was just playing with the images.. And
trying to get it to echo out whats in the pic.... So I sat here and did this
for basically nothing... Someone smack me.. lol
> -----Original Message-----
> From: tedd [mailto:tedd@sperling.com]
> Sent: Monday, March 26, 2007 1:11 PM
> To: Brad Fuller; php-general@lists.php.net
> Subject: RE: [PHP] My own "captcha" from 2 years ago......
>
> At 10:59 AM -0400 3/26/07, Brad Fuller wrote:
> >
> >echo '<img src=image.php>';
> >
> >This does not "run" or "call" image.php.
> >
> >This line of code sends this output to the browser.
>
> Brad:
>
> Yes, but the browser runs the code by trying to load an image.
>
> Check this out:
>
> http://sperling.com/examples/assorted-captcha/index.php
>
> The first Captcha is the typical type and the image shown is created
> by captcha.php via a simple img tag:
>
> <img src="captcha.php">
>
> In this example, the "key" for this is passed via sessions and is not
> included in a cookie nor dependant upon the value of the session id.
>
> Refresh the page and new values are shown because it's the tag that
> causes the captcha.php script to run.
>
> Don't mind the Audio Captcha there, I have a better one.
>
> Cheers,
>
> tedd
>
> --
> -------
> http://sperling.com
> http://ancientstones.com
> http://earthstones.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.18/733 - Release
> Date: 3/25/2007 11:07 AM
>
>
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.18/733 - Release Date: 3/25/2007
11:07 AM