Copy CodeThe code is as follows:
$str = File ("http://tq.tom.com/china/index.html");
$count = count ($STR);
for ($i =0; $i < $count; $i + +) {
$file. = $str [$i];
}
$TOMTQ = Explode ("
", $file); $TOMTQ = Explode ("
", $TOMTQ [1]);
$TOMTQ = $TOMTQ [0];
$TOMTQ Tom Weather Thief
?>
The weather code came in.
<textarea id="runcode371"><meta http-equiv= "content-type" c> <title> weather forecast </title> <style type= "Text/css" > </styl e> <body topmargin= "0" leftmargin= "0" style= "background-color=transparent" > <table width= " "height=" border= "0" cellpadding= "0" cellspacing= "0" > <tr> <td align= "center" valign= "Middl E "><table width=" 139 "border=" 0 "cellspacing=" 0 "cellpadding=" 0 "> <tr> <td width=" 53 "Rowspan=" 2 "align=" center "></td> <td width=" "" align= "center" > </ td> </tr> <tr> <td align= "center" ></td> </tr> </table></td> </tr> </table></textarea>
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
http://www.bkjia.com/PHPjc/317868.html www.bkjia.com true http://www.bkjia.com/PHPjc/317868.html techarticle Copy the code as follows: PHP $str =file ("http://tq.tom.com/china/index.html"), $count =count ($STR); for ($i =0; $i $count; $i + +) {$ file.= $str [$i]; } $TOMTQ =explode ("tablewidth=\" 774\ "b ...