Re: Pulling webpages - may be a weird question :)
| From: | daniel james | Date: | Tue, 28 Aug 2001 18:22:56 +0000 |
| Subject: | Re: Pulling webpages - may be a weird question :) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64861@lists.php.net to get a copy of this message | ||
try readfile('http://www.somesite.com/');
it creates a mirror; it might bypass the firewall,
depending on how the blocking software is keyed to
activate.
-dj
--- Jeff Lewis <jeff@hyrum.net> wrote:
> I was sitting here at work (working of course!)
> thinking about how some sites are blocked etc from
> viewing... Is it possible with PHP to do something
> like this:
>
> Have a page where I can create kind of a middle man.
> I mean the PHP can be hosted on my server, it goes
> to the site I'd want to view (lets say www.php.net).
> It then relays it to my browser but as if it is
> coming from my server. So can it grab the pages,
> temp write them and server them over to me?
>
> I know it seems kind of strange but I am curious
> about it....
>
> Jeff
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/