RE: [PHP] Streaming image library/app ?
| From: | Tom Le | Date: | Mon, 11 Dec 2000 22:16:04 +0000 |
| Subject: | RE: [PHP] Streaming image library/app ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29756@lists.php.net to get a copy of this message | ||
Wow, that rocks.
Goodbye Java, hello PHP! :)
Thanks,
tom
-----Original Message-----
From: Kyle Jerviss [mailto:kjj@jerviss.org]
Sent: Monday, December 11, 2000 12:29 PM
To: Tom Le
Cc: php-general@lists.php.net
Subject: Re: [PHP] Streaming image library/app ?
<?
//authenticate user here. and change the content-type below to match
your image
header("Content-type:image/jpeg");
readfile($path_to_images."/".$specific_image);
?>
Tom Le wrote:
>
> Hello All,
>
> I am in need of a php library that allows me to stream images (tif, jpg,
> gif, etc) to a browser. I checked out imlib but it doesn't do what I
need.
>
> Specifically, the browser should not be able to point directly to
> mywebsite.com/Image.jpg. Instead, I want a
> mywebsite.com/ImageStreamer.php?Image.jpg.
>
> We have a lot of financial documents where we perform a hash and give a
> one-time password for users to access. Obviously, we want to prevent
users
> from just loading images by brute force discovery. Right now we are using
a
> Java servelet but have encountered performance problems with a
> serverlet-based architecture.
>
> Any help would be appreciated it.
>
> Thx,
> Tom
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net