server-side redirect thingy?
by "tim booker" <timbooker(at)btinternet.com>
|
Date: |
Mon, 12 Mar 2001 12:44:58 -0000 |
To: |
<wdf(at)yahoogroups.com>, "Hwg-Techniques" <hwg-techniques(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
Hello All,
I want to build a site using the alpha transparency of PNG graphics.
However, we all know that this is only supported by a small percentage of
today's web browsers.
I'm wondering if there's any way to use a script which will detect the
browser and direct it to a PNG or GIF as appropriate.
Of course, I could do this client-side using JavaScript, but that could get
a bit messy across multiple pages and multiple graphics.
I'm wondering if there's a way of doing this server-side, in PERL or
possibly PHP. Something like:
<img src="graphic.pl">
And the script would return the appropriate image.
Any ideas?
Thanks,
Tim
Tim Booker
__________________________
Saltstone Media Ltd
http://www.saltstonemedia.co.uk/
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA