PHP as a stand-alone Image server
Posted: Wed Aug 11, 2004 6:47 am
Yo!
I want an apache/php server to act as an image server for other web sites.
I.e they (the other websites) can write in their html-file:
<img src="myL33tImageServer.net/getImage.php?login=user&file=weather.gif" etc etc>
-- And my server will send an image.
Now, Is that possible? Can a PHP-script send itself as an image? Or is there any other, preferably better, solution? We can assume that the "client" websites have php as well...
The thing is the images get created at runtime and on request so i dont want a regular
<img src="mywebsite.net/image_1234.gif">
I need php inbetween
How?
(im new here, let me know if there's an initiation ritual
hi-5!
/soul8o8
I want an apache/php server to act as an image server for other web sites.
I.e they (the other websites) can write in their html-file:
<img src="myL33tImageServer.net/getImage.php?login=user&file=weather.gif" etc etc>
-- And my server will send an image.
Now, Is that possible? Can a PHP-script send itself as an image? Or is there any other, preferably better, solution? We can assume that the "client" websites have php as well...
The thing is the images get created at runtime and on request so i dont want a regular
<img src="mywebsite.net/image_1234.gif">
I need php inbetween
(im new here, let me know if there's an initiation ritual
hi-5!
/soul8o8