RE: My own "captcha" from 2 years ago......

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx] 
> Sent: Monday, March 26, 2007 1:11 PM
> To: Brad Fuller; php-general@xxxxxxxxxxxxx
> Subject: RE:  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
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux