复制代码 代码如下:
$nodes = @$xpath->query("//*[@id='main_pr']/img/@src");$prurl = $nodes->item(0)->nodeValue;
上一篇:使用php怎么获取网站的备案信息
下一篇:如何在php中对hex-rgb函数进行转换