9月 192017
 

比较:

  1. 前者更加简单,后者显然复杂了一些
  2. 如果下载很大的文件,前者需要更多的内存,后者不需要
  3. PHP的stream wrapper的概念使得php的stream编程简单了许多
  4. 这两种方式都丢弃了http响应头信息,而对于请求头来讲,都可以通过context参数来设置
 Posted by at 下午 3:58

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据