
我们接着上文的内容来讲,上文给大家简单介绍了下使用curl的四个步骤,本文来给大家讲解下curl的一些高级应用:获取请求的相关信息,我们可以在curl执行完成后利用curl_getinfo():?>打印出来的内容为:array'url'=>string'http://www.lampbrother.net'(length=26)'content_type'=>null'http_code'=>int0'header_size'=>int0'request_size'=>int0'filetime'=>int0'ssl_verify_result'=>int0'redirect_coun...