摘要:
function post($url, $data) { //初使化init方法 $ch = curl_init(); //指定URL curl_setopt($ch, CURLOPT_URL, $url); //设定请求后返回结果 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); /... 阅读全文
摘要:
(.*?)/mis', $content, $match); //将正则匹配到的内容赋值给$area $area = $match[1]; preg_match_all('/(.*?)/', $area, $find); var_dump($find);die; function get($url) { //初使化curl $ch = curl_init(); ... 阅读全文