|
Posted by J.O. Aho on 11/18/05 14:16
charliefortune wrote:
> Thanks for your reply.
>
> I am loading various different pages, .jsp , .php, .htm etc. and the
> images occur inside the pages. The more I think about it, I am
> wondering if fopen doesn't parse html and therefore create output like
> a browser would, but just reads it as ascii ? In which case, the images
> are not being loaded anyway. Am I correct in this assumption ?
>
fopen() will only read the file you tell it to read, if the file has
references to other files, those won't be read.
If you display what you loaded with fopen() in a browser and the links to
images are full path, then the browser will display the images, but that is
for the browser will parse the HTML code and do as it tells it to do.
So the image isn't loaded by the php script.
//Aho
[Back to original message]
|