摘要: ini_set("display_errors", 0); // 关闭错误报告 error_reporting(0); // 报告 runtime 错误 error_reporting(E_ERROR | E_WARNING | E_PARSE); // 报告所有错误 error_reporting(E_ALL); // 等同 error_reporting(E_ALL); ... 阅读全文
posted @ 2018-09-26 17:36 zrn 阅读(272) 评论(0) 推荐(0) 编辑
摘要: public function curl_string ($url){ $user_agent = "Mozilla/4.0"; $proxy = "http://".$this->get_ip(); $ch = curl_init(); curl_setopt ($ch,... 阅读全文
posted @ 2018-09-26 15:15 zrn 阅读(1276) 评论(0) 推荐(0) 编辑