Copy code The code is as follows:
header("content-type:text/html; charset=utf-8");
$weather = file_get_contents("http://www.weather.com.cn/data/sk/101280601.html");
echo $weather;
? >
Copy code The code is as follows:
Weather Forecast
< ;div class="all">
Here is: city,
The temperature istemperature< /span>,
Wind direction: Wind direction,
Wind power: Wind power