cloudy cloudy

Author Topic: YR.NO forecast PHP-script - updated  (Read 72936 times)

0 Members and 2 Guests are viewing this topic.

Offline inkspot

  • Posts: 32
  • Middlesboro, Kentucky
  • OS/Browser:
  • Win NT 6.2
  • Firefox 25.0
Re: YR.NO forecast PHP-script - updated
« Reply #180 on: November 15, 2013, 04:29:29 PM »
Any help? I have seen other weather sites that have the correct English measurements. Can't get mine to do that.
My coding is as follows,
Code: [Select]
// CONFIG START

// Units
$useC = 0; // Use Celsius, else F
$useKMH = 0; // Use Km/h
$useMPH = 1; // Use Mph, if both KMH and MPH is zero is default m/s used
$useHPA = 0; // Use hPa, else inHg
$useMM= 0; // Use mm, else in

// Timesettings, normal PHP/date-tags used
$datestyle = "m.d.Y"; // Style of short date
$timestyle = "H:i"; // Style of time
$longdate = "m.d.Y H:i"; // Style of long time + date
$deftz = "Ameica/New York";
$pagename = "weather/wxyoforecast.php";

Offline Bunty

  • Posts: 212
  • Stillwater, OK
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 26.0
    • Stillwater Weather
Re: YR.NO forecast PHP-script - updated
« Reply #181 on: November 16, 2013, 08:12:58 AM »
Any help? I have seen other weather sites that have the correct English measurements. Can't get mine to do that.
My coding is as follows,
Code: [Select]
// CONFIG START

// Units
$useC = 0; // Use Celsius, else F
$useKMH = 0; // Use Km/h
$useMPH = 1; // Use Mph, if both KMH and MPH is zero is default m/s used
$useHPA = 0; // Use hPa, else inHg
$useMM= 0; // Use mm, else in

// Timesettings, normal PHP/date-tags used
$datestyle = "m.d.Y"; // Style of short date
$timestyle = "H:i"; // Style of time
$longdate = "m.d.Y H:i"; // Style of long time + date
$deftz = "Ameica/New York";
$pagename = "weather/wxyoforecast.php";

There is no known solution to the problem you site in the last version.  Therefore, you must use the version, which came before it, which explains what you saw on other sites.  It should be settable using imperial.