摘要: $api->query("select * from ((select * from {$dbtbpre}custom_guanzhu) UNION (select * from {$dbtbpre}custom_newsguanzhu)) as a where a.Userid={$member[ 阅读全文
posted @ 2021-01-08 17:33 宋先生日记 阅读(299) 评论(0) 推荐(0) 编辑
摘要: function doreplace($str){ global $api,$empire,$class_r,$dbtbpre,$public_r; // $list = $api->select("ecms_news"); // $urllist = $api->select("ecms_news 阅读全文
posted @ 2021-01-08 17:28 宋先生日记 阅读(69) 评论(0) 推荐(0) 编辑
摘要: $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]*/";//匹配域名后整个链接 阅读全文
posted @ 2021-01-08 17:27 宋先生日记 阅读(427) 评论(0) 推荐(0) 编辑