View Single Post
  #10 (permalink)  
Old 05-31-2005, 02:06 AM
itrends itrends is offline
Registered User
 
Join Date: Oct 2004
Posts: 50
itrends is on a distinguished road
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$errstr30);
if (
$fp === false) {
  print(
$errno." : ".$errstr);

As i said, permission denied?
Reply With Quote