PHP Classes

Maybe not supported on PHP5

Recommend this page to a friend!

      PHP Yahoo Weather Class  >  All threads  >  Maybe not supported on PHP5  >  (Un) Subscribe thread alerts  
Subject:Maybe not supported on PHP5
Summary:Maybe this class is not supported on PHP 5 (not sure)
Messages:6
Author:marco voegeli
Date:2005-11-03 16:34:29
Update:2009-11-19 04:01:16
 

  1. Maybe not supported on PHP5   Reply   Report abuse  
Picture of marco voegeli marco voegeli - 2005-11-03 16:34:29
Hi

I got a message from somebody, that this class
doesn't run on PHP 5. But I'm not sure of that,
I've only tested in lower PHP versions.

Have fun with it...
weatherman marco

  2. Re: Maybe not supported on PHP5   Reply   Report abuse  
Picture of Colin Colin - 2006-06-19 00:01:34 - In reply to message 1 from marco voegeli
Ive got it working w/ PHP 5...but for some reason it only reads Celcius even when I put "F" in for "C" in $weather_chile = new weather("01929", 3600, "C");. Im not sure what to do about this problem.

  3. Re: Maybe not supported on PHP5   Reply   Report abuse  
Picture of Craig Vincent Craig Vincent - 2008-11-10 01:05:23 - In reply to message 2 from Colin
I did just post about this, but use a lowercase "c" :o)

Craig

  4. Re: Maybe not supported on PHP5   Reply   Report abuse  
Picture of P Jonnala P Jonnala - 2009-01-04 00:03:10 - In reply to message 2 from Colin
How did you get it to work in PHP5? I'm told that "class xmlParser" and "class weather" can't be rewritten.

  5. Re: Maybe not supported on PHP5   Reply   Report abuse  
Picture of Michael Doig Michael Doig - 2009-11-19 03:49:50 - In reply to message 3 from Craig Vincent
Lowercase "c" didn't fix it for me. I am on PHP 4x
Perhaps it is still cached, I will try another location.

  6. Re: Maybe not supported on PHP5   Reply   Report abuse  
Picture of Michael Doig Michael Doig - 2009-11-19 04:01:16 - In reply to message 5 from Michael Doig
I tried another location and it worked with a lowercase "c".
My initial location must still be reading F from cache.