in reply to weather script not working

Abigail is right ... you sould allways check the result of a call to open. I suspect that either your script isn't being run in the same working directory as your weather.js file, or your script isn't being run by a UID that has permission to open that file -- especially on that open to write call.

PS: You realize you have a "+" in the URL you are trying to fetch -- you probably dont' want that there, that URL doesn't seem to work unless you delete it.

Replies are listed 'Best First'.
Re: Re: weather script not working
by Anonymous Monk on Feb 14, 2004 at 10:49 UTC
    Hello Hossman, Thanks for your help. As I wrote on my previous replies, your suggestion about an invalid UID may explain the error code from IE. But why did it run once, I wonder. Where do I need to have the UID set. Would the web host do that, and where is this set? I have seen a few "+" in the code, which one need to be removed? Thanks again for your input, and sorry about all those questions. pip