On Mon, 11 Feb 2002, Matt Moreton wrote:
> I have a script that outputs an image. Using the gd library. But the
...
> the image. Is it possible somehow to request the file as a .jpg?
> www.host.com/displayimage.php
Assuming you're using Apache, you can use a rewrite rule (with
mod_rewrite). h
helped!
>
> - Original Message -
> From: "Matt Moreton" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 11, 2002 11:44 AM
> Subject: [PHP] Fooling the client into thinking php script is .jpg
>
> I have a script that outputs an
uary 11, 2002 11:44 AM
Subject: [PHP] Fooling the client into thinking php script is .jpg
I have a script that outputs an image. Using the gd library. But the only
way this script gets to execute is if you call it like:
www.host.com/displayimage.php
That then sends the content header, and the
I have a script that outputs an image. Using the gd library. But the only way this
script gets to execute is if you call it like:
www.host.com/displayimage.php
That then sends the content header, and the image. Obviously I am doing some other
stuff in there, which is why I am using a scr
4 matches
Mail list logo