RE: [PHP] fopen by URL is disabled, is there another way of readi ng a remote webpage?
| From: | Vail, Warren | Date: | Wed, 20 Oct 2004 17:45:46 +0000 |
| Subject: | RE: [PHP] fopen by URL is disabled, is there another way of readi ng a remote webpage? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199921@lists.php.net to get a copy of this message | ||
CURL?
http://www.php.net/manual/en/ref.curl.php
Warren Vail
-----Original Message-----
From: jgoodie@att.net [mailto:jgoodie@att.net]
Sent: Wednesday, October 20, 2004 10:25 AM
To: Chuck Barnett
Cc: PHP General List
Subject: Re: [PHP] fopen by URL is disabled, is there another way of reading
a remote webpage?
-------------- 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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php