fsockopen failed with permission denied error...
| From: | Scott Fletcher | Date: | Thu, 19 Feb 2004 14:56:28 +0000 |
| Subject: | fsockopen failed with permission denied error... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-178248@lists.php.net to get a copy of this message | ||
Hi Everyone!
Sample code below...
--snip--
$fp = fsockopen("www.cnn.com", 80, $errno, $errstr, 30);
--snip--
I get the error message, permission denied along with 13. When I read the
bugs.php.net and found out that I need to add the "@" to it so I did this..
--snip--
$fp = @fsockopen("www.cnn.com", 80, $errno, $errstr, 30);
--snip--
I get a different error message, it said ...
--snip--
Addr family not supported by protocol (66)
--snip--
Does anyone know what it meant and what is the workaround to it?
Thanks,
FletchSOD