2019年3月7日
摘要: php请求远程url内容有两个方法fopen/file_get_contents和curl。 1,fopen/file_get_contents与curl的差异 (1)fopen /file_get_contents 每次请求都会重新做DNS查询,并不对DNS信息进行缓存。但是CURL会自动对DNS 阅读全文
posted @ 2019-03-07 13:28 夏沫忆香 阅读(556) 评论(0) 推荐(0) 编辑