Quote:
|
Originally Posted by webignition
From the PHP manual ( http://pl2.php.net/manual/en/function.fsockopen.php):
Try specifying the optional paramaters errno and errstr and then print them afterwards. This should give you more specific errors which should aid the troubleshooting process.
PHP Code:
$fp = fsockopen ("example.com/index.html", 80, $errno, $errstr, 30);
if ($fp === false) {
print($errno." : ".$errstr);
}
|
As i said, permission denied?