[thelist] Filename on php/gd-generated images

Michael F. Pemberton mpember at int.mpember.net.au
Wed May 25 01:18:57 CDT 2005

Maximillian and fellow Evolters,

I'm glad you found a solution to your situation.

As someone who prefers to spend as little time as possible fiddling with config files, I thought I'd pass on a less server-dependant solution.

Most servers will allow you to add test between the scripts filename and the query string.  This means you could do something like this:


I use this for generating some PDF via PHP.  It removes the need to play with my server config for each script.

Hopefully this helps those who aren't using Apache ;)

Michael Pemberton
mpember at mpember.net.au

----- Original Message -----
From: Maximillian Schwanekamp <lists at neptunewebworks.com>
To: misterhaan at track7.org, thelist at lists.evolt.org
Sent: Wed, 25 May 2005 03:43:57 +1000
Subject: Re: [thelist] Filename on php/gd-generated images

> misterhaan wrote:
> > you can name the script imagename.jpg and tell the server to process it 
> > as php, or you can use mod_rewrite to make requests for imagename.jpg 
> > actually call your check.php script
> Ah!  Good idea.  I knew there had to be a simple solution.  Thanks.
> -- 
> Maximillian Von Schwanekamp
> http://www.neptunewebworks.com/
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 

More information about the thelist mailing list