Re: can any one see a problem with this script?
| From: | Jason Wong | Date: | Fri, 17 May 2002 05:52: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-98011@lists.php.net to get a copy of this message | ||
On Friday 17 May 2002 13:26, Peter wrote:
> I have also tried
>
> adding the r option as I only want to read the file as follows
>
> $fp =
> fopen("http://www.phpbuilder.com/rss_feed.php?type=general&limit=10",i
> Å{�YÕ³Òbô Åp
> "r") or die("Error reading RSS data.");
>
> but I still get the same error message..
This works fine for me:
<?php
$fp =
fopen("http://www.phpbuilder.com/rss_feed.php?type=general&limit=10","r");
fpassthru($fp);
?>
Check the archives & bugs.php.net to see whether there are any issues with
fopen() & URLs with Windows.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
The young lady had an unusual list,
Linked in part to a structural weakness.
She set no preconditions.
*/