第二个参数是表示排名是上升还是下降中~~
-
<?php
-
preg_match("@<div class=\"data (.*)\">(.*)</a></div>(\r|\n|\s|\t)+<div class=\"label\">Traffic Rank@",$body,$dd);
-
echo "alax traffic rank {$dd[2]} [{$dd[1]}]";
-
?>
第二个参数是表示排名是上升还是下降中~~
This entry was posted on Tuesday, April 21st, 2009, 10:27 am and is filed under PHP语言学习. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jan | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | ||||
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^
Recent Comments