Re: fopen by URL is disabled, is there another way of reading a remote webpage?
| From: | (Jennifer Goodie) | Date: | Wed, 20 Oct 2004 17:25:06 +0000 |
| Subject: | Re: fopen by URL is disabled, is there another way of reading a remote webpage? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199918@lists.php.net to get a copy of this message | ||
-------------- Original message from "Chuck Barnett" : --------------
> Hi, my new server has fopen by url disabled. My ISP doesn't want to turn it
> on. So is there a way to do an equivilant function some other way? I need
> to read a remote webpage and manipulate it.
>
> Thanks,
> Chuck
You could use sockets. Here's an example from the archives
http://marc.theaimsgroup.com/?l=php-general&m=105052005332001&w=2
The example is sending a POST, but you can easily change it to a GET.