RE: [PHP] This, then that. [solved?]

From: Date: Sat, 20 Oct 2007 14:03:44 +0000
Subject: RE: [PHP] This, then that. [solved?]
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-263443@lists.php.net to get a copy of this message
At 1:57 PM -0700 10/19/07, Instruct ICC wrote:
but in the img tag, try src="display_image.php?id=anId"
and in display_image.php, test if the user is authorized before displaying the image. Then a direct call to display_image.php?id=anId would still have a chance to authenticate the user.
Forgot to reiterate: Keep the images where only PHP can read them. If you have the images in a file or a database, use header, and echo or fpassthru on the data.
That I would like to see an example of.
Something like "jan at anh dot sk" http://php.he.net/image
I can create the image on the fly, but that gave me an idea. I'll be back. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#263443) next »