[PHP] fopen by URL is disabled, is there another way of reading a remote webpage?
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] fopen by URL is disabled, is there another way of reading a remote webpage?
On Wed, 20 Oct 2004 10:46:34 -0500, Chuck Barnett [EMAIL PROTECTED] wrote: 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. #!/usr/bin/php ?php `wget http://yahoo.com` ? -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
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-generalm=105052005332001w=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