第二个参数是表示排名是上升还是下降中~~
-
<?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.
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^
Recent Comments