如何获取文本:“最大文本示例”来自:
<td valign="top" align="left">
<a href="/server?tree=xabaf"
class="normal"> Text example max </a>
</td>
使用正则表达式?
include('simple_html_dom.php');
$ch = curl_init('http://www.site.com?id=325235');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$sss = curl_exec($ch);
curl_close($ch);
preg_match_all("#class="normal"?</a>$#", $sss, $arr);