The php weather forecast code is collected from the Central Meteorological Observatory and covers the entire country Weather information collected from the Central Meteorological Observatory, accurate information, wide coverage, the code is simple. Return json code can be used for client calls can also be displayed in the server-side processing, the author of the WordPress weather forecast plug-in is the use of this code Oh. Note that this code will generate a cache file on the server, you need to create a new data folder in the current directory to ensure that the folder can be written
Author: freemouse Homepage: www.cnphp.info Interface demo: http://www.cnphp.info/tianqi Usage: You can call the above address will display the local weather information, you can also use http://www.cnphp.info/tianqi/?q= Nanjing City, Jiangsu Province ** /
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.