Cannot run fopen() or file_get_contents()

Posted by Obay on Stack Overflow See other posts from Stack Overflow or by Obay
Published on 2010-04-08T03:17:55Z Indexed on 2010/04/08 3:23 UTC
Read the original article Hit count: 407

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about php

Related posts about filesystems