Re: Remote image
| From: | Chris Lee | Date: | Tue, 18 Dec 2001 17:33:01 +0000 |
| Subject: | Re: Remote image | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78088@lists.php.net to get a copy of this message | ||
how those remote servers destinguish where the images are coming from is
from the Referr header.
play around with getting the data manually using fopen()/fwrite()/fread()
and your done. not so easy eh, well it works.
--
Chris Lee
lee@mediawaveonline.com
"Martin Kampherbeek" <m.kampherbeek@home.nl> wrote in message
news:001201c18290$60da3820$328078d9@cc16349a...
Hi,
I have a problem with a remote image. I hope someone can help me.
People can post their link of their webpage at my site.
I check if the file excists, fopen().
After that I scan the page for links.
And the links for images.
Then I would like to see the sizes of all those images.
The problem is that there are servers that don't allow to brow straight to
the images, it can only from the page self.
So I look for something in php that surfs the the page en from that page to
the links.
I hope someone can help me.
Cheers,
Martin.