failed to open stream: An attempt was made to access a socke

Problems with the Windows version of XAMPP, questions, comments, and anything related.

failed to open stream: An attempt was made to access a socke

Postby rupam_jaiswal » 24. February 2011 05:22

HI,
I am a newbie,please excuse if similar issue has been posted earlier,
I have installed xampp on windows 7 a few days back, was working with it finely till yesterday.
I am calling this function file_get_contents($site) , and was getting the contents till last night, didn't modify any well, don't what happened in , now its giving me error
Warning: file_get_contents(http://www.site.com) [function.file-get-contents]: failed to open stream: An attempt was made to access a socket in a way forbidden by its access permissions.
in C:\xampp\htdocs\class\property\testz.php on line 18

error log has
[Thu Feb 24 09:17:39 2011] [error] [client 127.0.0.1] PHP Warning: file_get_contents(http://www.site.com) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: An attempt was made to access a socket in a way forbidden by its access permissions.\r\n in C:\\xampp\\htdocs\\class\\property\\testz.php on line 18

Can anyone sort out this issue..
Regards
rupam_jaiswal
 
Posts: 1
Joined: 24. February 2011 05:19

Return to XAMPP for Windows

Who is online

Users browsing this forum: JJ_Tagy and 66 guests