How to output image via php from another domain

Posted by Beck on Stack Overflow See other posts from Stack Overflow or by Beck
Published on 2010-05-19T15:40:43Z Indexed on 2010/05/19 15:50 UTC
Read the original article Hit count: 193

Filed under:
|

Image tag inside email message:

<img src="http://www.mydomain.com/image.php?lastest=1">

Part of image.php script:

case 'image/gif': header('Content-type: image/gif');$img=@imagecreatefromgif($image['src']);if($img) {imagegif($img);imagedestroy($img);}
break;

But how i can do the same with this image?

http://www.anotherdomain.com/image.gif

Thanks.

© Stack Overflow or respective owner

Related posts about php

Related posts about image