arlanda Posted October 26, 2011 Report Share Posted October 26, 2011 I'm unable use file_get_contents function to capture any remote site. The code runs perfectly fine on XP and Vista. All on the same network. I have already looked into htaccess and firewall but to no avail.. $homepage = file_get_contents("http://www.example.com/");echo $homepage; and as shown in the error.log: [Tue Oct 25 18:29:14 2011] [error] [client ::1] PHP Warning: file_get_contents(http://www.example.com/): 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.\r\n in C:\\UniServer\\www\\test\\index.php on line 3 Using Orion 7.1.13 on Win7 Pro 64 SP1. Thanks. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.