using images from another site
| From: | Scott Guthrie | Date: | Sun, 03 Dec 2000 16:47:55 +0000 |
| Subject: | using images from another site | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39912@lists.php.net to get a copy of this message | ||
I have a secure site (https) that needs to display images found on another
(unsecure site). Netscape doesn't appreciate mixing secure and insecure
data, so I need to pull the image over and output it from the secure site.
I have tried many things, like 'copy', the fopen,fread,echo track and even
readfile("http://colomar.com/creditcard.gif") for
example. The readfile is
close, but I get the output in binary output to the screen instead of a
image.
(line starts out as: GIF89a}µÞ¥ÆGIF89a}µÞ¥Æ....)
If I could figure out how to send the image file to the browser as an image
from PHP, I'd have this issue solved. Any ideas?
Thanks,
-Scott-
The COLOMAR Group
R. Scott Guthrie
6382 Brightstar Drive
Colorado Springs, CO. 80918