摘要: 恢复内容开始 class Curl{ protected $c; public function __construct(){ $this->c = curl_init(); curl_setopt($this->c,CURLOPT_RETURNTRANSFER,1); //1表示获取返回的内容;0 阅读全文
posted @ 2018-05-07 20:14 ksy_c 阅读(448) 评论(0) 推荐(0)
摘要: /etc/hosts 配置: 127.0.0.1 localhost www.ismei.com 其他: 打开配置文件: /etc/apache2/sites-available$ ls -al /etc/apache2/sites-available$ sudo gedit 000-default 阅读全文
posted @ 2018-05-07 10:33 ksy_c 阅读(136) 评论(0) 推荐(0)
摘要: $url = "http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=json&ip=117.25.13.123"; $res = file_get_contents($url); // echo $res; $res = json_de 阅读全文
posted @ 2018-05-07 10:28 ksy_c 阅读(248) 评论(0) 推荐(0)