From c26eeb7fb74886d0d003c63bb97e8f396cf05ccc Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Tue, 20 Jun 2017 21:58:46 +0100 Subject: Initial import --- graphs.php | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 graphs.php (limited to 'graphs.php') diff --git a/graphs.php b/graphs.php new file mode 100644 index 0000000..981b107 --- /dev/null +++ b/graphs.php @@ -0,0 +1,40 @@ + + + + + + + + +Jersey Weather - Graphs + + + + + +Forecasts | Graphs

\n\n"; + +echo "

This page is currently slow - image caching coming soon.

\n\n"; + +echo "

Temperature / Rainfall

\n\n"; + +file_put_contents("temp.png", file_get_contents("http://data.gov.je/JerseyMet/Town/internet.Temperature.png")); +file_put_contents("rain.png", file_get_contents("http://data.gov.je/JerseyMet/Town/internet.Rainfall.png")); + +echo "

\"Temperature\" \"Rainfall\"

"; + +echo "

UV index / Wind

\n\n"; + +file_put_contents("uv.png", file_get_contents("http://data.gov.je/JerseyMet/Town/internet.UV.png")); +file_put_contents("wind.png", file_get_contents("http://data.gov.je/JerseyMet/Town/internet.Wind.png")); + +echo "

\"UV \"Wind\"

"; + + +?> + + + + -- cgit v1.2.3