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

Reply via email to