I have a quick question for you PHP geniuses out there. It is well documented that IE does not support usernames and passwords in url's (see http://support.microsoft.com/kb/834489
), so my question is this:
I have images stored on a website that is protected by username and password authentication that I would like to use on a remote website.
Now, to display the image on my remote website would be simple using the HTML img tag:
<img src="http://username:email@example.com/someimage.jpg" alt="Sample Image" />
This will not work in IE, however. What can be done in PHP to first authenticate the request and then retrieve the file contents of the image and display it on the remote site? I know there has to be several possibilities. All I need is one working one.