Web Weather > Weather Website PHP/AJAX scripting

yr.no forecasts worldwide-script

(1/15) > >>

weatherc:
Hi all!

Updated the yr.no-script so now its possible to search for 3.3 million forecasts in 240 countries :lol:

- Shows nearby webcams by Webcam travel
- Possibity to save favorite location
- It use geonames.org FREE webservice (Sign up required)
- If webserver have geotags like $_SERVER["HTTP_GEOIP_LONGITUDE"] it use that to get default location

Live demo: http://www.nordicweather.net/yrnoennuste.php?en
Download: http://www.nordicweather.net/downloads/?5

 :grin:

// Henkka

CNYWeather:
There's an error on your demo page Henka


--- Code: ---Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/vhosts/nordicweather.net/httpdocs/scripts/yr_xmlII.php on line 139
--- End code ---

weatherc:

--- Quote ---There's an error on your demo page Henka
--- End quote ---

I don't see the error here.
I *think* its the autolocator for the default forecast what use geoip what fail for some reason, shouldn't affect the usage of the search tought.

// Henkka

CNYWeather:
That demo page wont fill in anything on the auto select Henka

weatherc:
Works fine here. There are no "Utica, NY" hit in the database tought.
Just write say Uti and hits are as attached.

You can test also this one: http://www.nordicweather.net/test/yr/yrtest.php
It has predefined default as Helsinki like the zip has. That my version use the geoip Nginx/PHP-thingy for that.

Henkka

Navigation

[0] Message Index

[#] Next page

Go to full version