Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fopen is not behaving

Status
Not open for further replies.

jimoblak

Instructor
Oct 23, 2001
3,620
US
I'm asking this question on behalf of another person so some of the explanation may be lacking.

We are trying to read a remote file:

Code:
$fd=fopen("[URL unfurl="true"]http://weather.yahooapis.com/forecastrss?p=90210","r");[/URL]

This works fine for me on three different servers (with three different platforms and releases/configs of PHP). My counterpart is having no luck with PHP 5.2.3 running on 'Windows NT IIS 5.1'. He can open other remote files using a plain html web address. However, it seems that his PHP is getting stuck on the "forecastrss?p=90210" portion of the URL.

Does anyone have any ideas why this would be happening?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top