Re: can any one see a problem with this script?

From: Date: Fri, 17 May 2002 04:54:58 +0000
Subject: Re: can any one see a problem with this script?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98005@lists.php.net to get a copy of this message
Not sure, but it might be the space that you have after the limit=10 Steve At 11:39 PM 5/16/2002, Peter wrote:
hi can any one see a problem with this script .. I am trying to use phpbuilder's rss link for a site but am having errors <?php $content .= "<TABLE BORDER=0 WIDTH=0%>\n<TR>\n"; $content .= "<TD><B>test</B></TD>\n"; $content .= "</TR>\n"; $content .= "<tr><td>\n"; //line 8 starts { $fp = fopen("http://www.phpbuilder.com/rss_feed.php?type=general&limit=10 ", "r") or die("Error reading RSS data."); // } line 8 finishes fclose($fp); $content .= "</td></tr>\n"; $content .= "</TABLE>\n"; echo $content; ?> The error is as follows Warning: php_hostconnect: connect failed in c:\phpdev\www\test.php on line 8 Warning: fopen("http://www.phpbuilder.com/rss_feed.php?type=general&limit=10","r") - Bad file descriptor in c:\phpdev\www\test.php on line 8 Error reading RSS data. 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


« previous php.general (#98005) next »