howdy,
using the script below can see why I am getting the following error?
Warning: fopen("Resource id #1",
"http://www.phpbuilder.com/rss_feed.php?type=general&limit=10") - No error
in c:\phpdev\www\test.php on line 46
file could not be opened
print( "<H1>HTTP</H1>\n");
$prox = "proxy_number"
$datei = fsockopen("$prox", 3128, &$errno,
&$errstr);
if (!($myFile = fopen($datei,
"http://www.phpbuilder.com/rss_feed.php?type=general&limit=10", "r")))
{
print ("file could not be opened");
exit;
}
while (!feof($myFile))
{
//read a line from file
$myLine = fgetss($myFile);
print ("$myLine <BR>\n");
}
//close the file
fclose($myFile);
any help is apreciated
Cheers
Peter
"the only dumb question is the one that wasn't asked"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php