摘要: 这篇文章简单总结一下HTTP请求头和响应头,并举一些web开发中响应头的用例。 1. HTTP请求头 accept:浏览器通过这个头告诉服务器,它所支持的数据类型。如:text/html, image/jpegaccept-Charset:浏览器通过这个头告诉服务器,它支持哪种字符集。accept- 阅读全文
posted @ 2017-09-21 10:57 wujunbin 阅读(307) 评论(0) 推荐(0)
摘要: CURL方式: 1 $ch = curl_init(); 2 3 curl_setopt ($ch, CURLOPT_URL, "http://www.yyyy.com"); 4 5 curl_setopt ($ch, CURLOPT_REFERER, "http://www.xxxx.com/") 阅读全文
posted @ 2017-09-21 10:52 wujunbin 阅读(10447) 评论(0) 推荐(0)
摘要: 1 $v){ 27 $url=$urls[$k]; 28 $curl[$k] = createCh($url); 29 curl_multi_add_handle ($handle,$curl[$k]); 30 } 31 $active = null; 32 do { 33 $m... 阅读全文
posted @ 2017-09-21 09:34 wujunbin 阅读(274) 评论(0) 推荐(0)
摘要: .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm 阅读全文
posted @ 2017-09-21 00:43 wujunbin 阅读(298) 评论(0) 推荐(0)