fopen thru proxy problem

From: Date: Mon, 20 May 2002 00:24:56 +0000
Subject: fopen thru proxy problem
Groups: php.general 
Request: Send a blank email to php-general+get-98402@lists.php.net to get a copy of this message
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"

« previous php.general (#98402) next »