引用:
作者: 沙滩凉鞋 查看帖子
<?php
$content = file_get_contents('http://www.QuChao.com');
if (preg_match_all('/<link.+?rel=[\"|\']?alternate[\"|\']?.+?href=[\"|\']?([^(\"|\')]*)[\"|\']?/is', $co...
谢谢了哈。

这个 rel、 href 属性的前后位置没关系吧?