Cannot run fopen() or file_get_contents()
- by Obay
Hi,
When I use fopen() or file_get_contents(), I get the following error:
Warning: fopen(URL_OF_FILE_HERE) [function.fopen]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in D:\WebServer\Sapphire\CMS_2009\apps\Newswire\send_mails.php on line 57
PHP version is 5.9.2-2.
In another server, PHP is 5.9.2, and it works fine.
allow_url_fopen is On
Any ideas?