file_get_contents("url")? I've been given an interesting challenge by a friend to try and find a way to use file_get_contents() on an image from the web, then display that image only using what's obtained through the file_get_contents() function. I did a bit of research, and found that it's apparently possible, and apparently easiest with .jpg images, but I haven't found anything really telling how to do so. Does anybody know how to do this, or if it's even possible or not? Also, my friend wants me to use .bmp images, rather than .jpg images, if it makes any difference. I am using Ubuntu as my OS, and php5 as my version of php.