-
I don't want to worry anyone but it seems there are some moderately critical security issues with PHPWeather. According to an alert by Secunia (and others), dated 2008-12-15, PHPWeather 2.x has the following vulnerabilities:-
1) Input via the URL in config/make_config.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script...
2009-06-17 02:37:20 UTC by mrgoose
-
After another night of searching and reading of the source I noticed the problem is in the PROB.. area. The problem only shows when PROB## is followed by another item like:
PROB40 TEMPO .....
Anyone an idea how to fix this?
Kind regards,
Lennart.
2009-01-23 23:05:52 UTC by lennarth3
-
In the test2.php file i do get a warning saying an "undefined offset" in my phpweather.php file. The matching row of that error is in the PROB area of the TAF decoder.
I have noticed that it wil only give this failure/warning if the TAF is of a very long format, especialy in bad weather conditions.
Does anyone know how to fix this small problem?
Best regards,
Lennart.
2009-01-22 14:48:53 UTC by lennarth3
-
In other sites, it shows Temperature of site to be 11 degree C and using the phpweather.net script, it shows 16 degree C. What may be the error?.
2007-11-25 15:03:30 UTC by cooladpt
-
While running the PHP Weather Speed test, I am getting the following error messages displayed:
Processing 256 METARs
Notice: Undefined variable: tendency in /var/www/phpweather/output/pw_text.php on line 557
Processed 32 METARs...
Processed 64 METARs...
Processed 96 METARs...
Processed 128 METARs...
Processed 160 METARs...
Processed 192 METARs...
Notice: Undefined...
2007-08-13 02:27:55 UTC by servant
-
I am using Ubuntu Feisty, and this routing was not returning the correct data. This was my correction to make it work on my system. This function was in the phpweather.php file:
function tms_date2unix($tmp_tms) {
/* joc20070812 - 2007-08-13 01:00:00 is format returned in Ubuntu Feisty */
return...
2007-08-13 02:24:16 UTC by servant
-
Im now also adding the hebrew translation...
File Added: pw_text_iw.php.
2007-06-09 20:47:32 UTC by spitzlama
-
Hello,
Though its more houmerous i have the Yiddish translation made thanks to the help of Dr. Yehuda Lando, this translation was made to the request of my flight instructor Yossi Cohen.
Please note that i didnt add my code fix for 'rtl' text direction, you will have to add it yourself.
Enjoy,
Assaf Feuerstein.
2007-06-09 20:46:12 UTC by spitzlama
-
Running on PHP4.
When trying to access Configuration Builder, I get an error code.
http://www.admsport.com/phpweather/config/make_config.php
Error:
Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition caddie of the object you are trying to operate on was loaded _before_ the session...
2007-05-07 20:54:32 UTC by admsport
-
Hi...
Would love to see support for international METAR data here - should be simple, right?
E.g. Cambridge, UK today returns:
METAR = EGSC 120950Z 02005KT 280V070 8000 NSC 13/09 Q1024
But great work here!
2007-04-12 10:21:35 UTC by nobody