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
...however, this may not be the best solution since actual JPEG's accidentally
containing the " Add this inno the appropriate virtual-host
>
>
> AddType application/x-httpd-php .jpg
>
>
> This will parse all .jpg files to the PHP interpreter.
>
> Hope that helped!
>
> - Original Message
Add this inno the appropriate virtual-host
AddType application/x-httpd-php .jpg
This will parse all .jpg files to the PHP interpreter.
Hope that helped!
- Original Message -
From: "Matt Moreton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 11, 2002 11:44 AM
S
3 matches
Mail list logo