摘要:
$api->query("select * from ((select * from {$dbtbpre}custom_guanzhu) UNION (select * from {$dbtbpre}custom_newsguanzhu)) as a where a.Userid={$member[ 阅读全文
摘要:
function doreplace($str){ global $api,$empire,$class_r,$dbtbpre,$public_r; // $list = $api->select("ecms_news"); // $urllist = $api->select("ecms_news 阅读全文
摘要:
$pattern="/[.]{1}[a-z\d\-]+[.]{1}[a-z\d]*/";//只匹配域名$pattern="/[.]{1}[a-z\d\-]+[.]{1}[a-z\d]*[\/]*[A-Za-z\d]*[\/]*[A-Za-z\d]*/";//匹配域名后整个链接 阅读全文