Page 1 of 1

image files doesn't load

Posted: Wed May 18, 2005 9:59 pm
by pleigh
hi there...why is it that when i call a link

Code: Select all

include('http://www.somesite.com');
the page loads but the image files doesn't show up...how can i make it visible??

thanks in advance..

Posted: Wed May 18, 2005 11:42 pm
by anjanesh
The site must have stopped image hotlinking - from stealing bandwidth.
http://altlab.com/hotlinking.html
http://underscorebleach.net/jotsheet/20 ... ess-apache

Posted: Thu May 19, 2005 3:24 am
by onion2k
It's much more likely that the site in question is simply using relative urls for the image links. You'll need to parse the result of your include to either turn the relative urls into absolute ones, or download all the images from the site to your own server.

Posted: Thu May 19, 2005 3:30 am
by phpScott
just make sure that the images are avialable for use on your own site and that the site in question doesn't mind.