Re: Streaming image library/app ?
| From: | Kyle Jerviss | Date: | Mon, 11 Dec 2000 20:28:58 +0000 |
| Subject: | Re: Streaming image library/app ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29750@lists.php.net to get a copy of this message | ||
<?
//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