RE: fopen by URL is disabled, is there another way of readi ng a remote webpage?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CURL?

http://www.php.net/manual/en/ref.curl.php

Warren Vail
 


-----Original Message-----
From: jgoodie@xxxxxxx [mailto:jgoodie@xxxxxxx] 
Sent: Wednesday, October 20, 2004 10:25 AM
To: Chuck Barnett
Cc: PHP General List
Subject: Re:  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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux