Search found 6 matches

by paulg
Thu Jun 12, 2003 9:12 am
Forum: Tech
Topic: Weather : error message not showing on failure?
Replies: 4
Views: 11027

will is_file work better in this case?

Hi, Sorry for getting back so late on this. Am dependent on my laptop from here and my php ini is giving some trouble. If I have understood correctly calling external files is not good security, and I am moving from sucure_mode on / off between Win and Linux - so hardly surprising I make little prog...
by paulg
Wed Jun 04, 2003 11:53 am
Forum: Tech
Topic: Weather: another method? Format time?
Replies: 2
Views: 8030

yes i suppose so. But what if I live in France? (which I do) then its GMT +1, this made me think.. instead of say, an array of countries how about doing EDT -5 so the call to the class instead of: $ivw = new IVWeather($uvw,'UK'); could be $ivw = new IVWeather($uvw,-5); might be a bit of type-jugglin...
by paulg
Wed Jun 04, 2003 11:42 am
Forum: Tech
Topic: Weather : error message not showing on failure?
Replies: 4
Views: 11027

Yeah, the msg I saw suggests it waits for a timeout period set in my php.ini as you say need to ID that the file isnt there. Will take a look if I get time. Thing is you cant really test this error thing unless the site is down, unless perhaps if you ask for an improper adress? nope - just tried tha...
by paulg
Tue Jun 03, 2003 11:55 pm
Forum: Tech
Topic: Weather: another method? Format time?
Replies: 2
Views: 8030

Weather: another method? Format time?

Giz, I noticed that you use the time so: // Datetime of the weather information. All dates appear to be EDT. var $wdate; Do you think we could optionally reformat the time to, say, GMT so that we could call a local time? If not I might try to get round to extending the class, but it seems best to tr...
by paulg
Tue Jun 03, 2003 11:38 pm
Forum: Tech
Topic: Weather : error message not showing on failure?
Replies: 4
Views: 11027

Weather : error message not showing on failure?

Hi Giz,

on line 119 of the class you have an error msg on fail to open.

How do we call that if, lets say, the IV site is down?

Paul
by paulg
Tue Jun 03, 2003 12:27 am
Forum: Tech
Topic: iv icons and cacheing results
Replies: 1
Views: 6465

iv icons and cacheing results

Hi, I followed your sourceforge listing here. Thks for the great class. I visited the IV site where they explained: a) download the icons locally b) we should cache results locally Both of these things would reduce bandwidth and therefore increase liklihood this great service continues. a) If you ar...