Php Actual Weather Query Script » Joey’s Website Archive

2014/05/08 : 19. Php Actual Weather Query Script

Download here

This is a simple script I made mostly based off of, to get it to work, go to This Url, and choose the airport nearest to you. Copy that url and replace $url in the document with your url. Next all you have to do is enter the various things you want it to do in the $rain, $snow, $fog variables, and it will do the rest for you.


Since writing this, Chris Blakley( has since notified me that there is a better way to do this:

It uses Yahoo’s XML Weather. The new file is found here:

Now all you have to do is replace $zipcode with your zipcode. Thanks again Chris!



Under: Javascript, PHP, Projects, Site,

© 2019. All rights reserved. | RSS Feed