Hi Justin! Still have the same problem. But that's okay, I decided not to use the fsockopen() recently. Because some people seem to have this problem too. So, I'm pondering of doing a different way of using PHP.
FletchSOD "Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Scott Fletcher wrote: > > > 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 > > Try the example at: http://us4.php.net/fsockopen > > -- > -- > paperCrane <Justin Patrin> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php