里面用了正则表达式函数ereg,然后提示
Deprecated: Function eregi() is deprecated in X:\wamp\www\16\xiaotou.php on line
<?
$url = "http://www.taobao.com";
$open = file_get_contents($url);
eregi("b></div> </div><b class=\"rc-bt\"><b></b></b></div>".
"(.*)<div id=\"expressway\" class=\"box box-skin-blue\">",$open,$tb);
print_r($tb);
?>
Deprecated: Function eregi() is deprecated in X:\wamp\www\16\xiaotou.php on line
<?
$url = "http://www.taobao.com";
$open = file_get_contents($url);
eregi("b></div> </div><b class=\"rc-bt\"><b></b></b></div>".
"(.*)<div id=\"expressway\" class=\"box box-skin-blue\">",$open,$tb);
print_r($tb);
?>
This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.
注意: 使用 Perl 兼容正则表达式语法的 preg_match() 函数通常是比 ereg() 更快的替代方案。