This widget get it's data from http://www.weather.com.cn, and can both assign a city or auto detect city by client's ip address (base on QQWry.Dat, the download url will be listed after). It support china's 320 cities weather forecast of 4 days.
It's better that your php support curl extension. It must download data from remote server. AND the extension mb_string is REQUIRED.
Extract the files to exact directory the same in the zip file. and the directory "protected/data/" must be writtenable. And put the QQWry.Dat in this directory.
and then in your view file:
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.