file_get_contents获取微博数据不稳定的解决方法 function c_file_get_contents($durl){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $durl);…
根据IP地址显示当地天气 <?php header("Content-type: text/html; charset=utf-8"); echo $_SERVER["REMOTE_ADDR"]; function c_file_get_contents($durl){…