Jump to content

Serving an image to another location


phpknight

Recommended Posts

Hi,

 

How would I got about sending an image from my server to another location dynamically?  Here is what I am thinking. Please let me know where I am off.

 

1.) Have an incoming file like incoming.php?image=4

2.) Process the request

3.) Send the headers back just like outputting an imagePNG or something???

 

Is this close? If anybody has done this, I would appreciate any input.

Link to comment
https://forums.phpfreaks.com/topic/89969-serving-an-image-to-another-location/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.