File download 0 Basic Getting Started tutorial recommended

Source: Internet
Author: User
Tags php tutorial
PHP supports the continuation of breakpoints, mainly rely on the HTTP protocol header Http_range implementation. HTTP Breakpoint Continuation principle HTTP header range, Content-range () HTTP header general Breakpoint download is used to the range and Content-range entity header, range user request header, specify the position of the first byte and the position of the last byte, such as (range:200-300) Content-range for the response header request to download the entire file: Get/test.rar http/1.1 connection:close host:116.1.219.219 range:bytes= 0-801//General request download the entire file is bytes=0-or without this head general normal response http/1.1 OK content-length:801 Con

1. PHP supports file download for breakpoint continuation

Summary: In the Range user request header, specify the position of the first byte and the position of the last byte, such as (range:200-300)

2. patch file PHP File download class

Brief: Patch file: Patch file php File download class: Copy code code as follows: <? ====================================================//Use Example://$download =new Download (' php,exe,html ', false); if (! $download->downloadfile ($filename))//{

3. A good php file download class

Introduction: A Good PHP file download class

4. php File Download class (multiple file types supported)

Introduction: PHP File Download class (multiple file types supported)

5. PHP support for the continuation of the file download type (with source)

Introduction: PHP support for the continuation of the file download type (with source)

6. php File download Class code, PHP file Download processing class

Introduction: PHP File download class code, PHP file Download processing class

7. php File Download class _php tutorial

Introduction: PHP File Download class. Copy the code code as follows:? ====================================================//Use Example://$download =newdownload (' php,exe,html ', false); if (! $download-downloadfile ($f

8. PHP oversize file download supports 2g or more files support Breakpoint Continuation _php Tutorial

Introduction: PHP oversize file download supports 2g or more files to support the continuation of the breakpoint. PHP Tutorial 002/** 003 * SPAN Class=t_tag onclick=tagshow (event) href=tag.php?name=%ce%c4%bc%f E file/span transmission, support for the continuation of the breakpoint. 004 * 2g above Large file also valid 005 * @

9. PHP implementation of support for the continuation of the breakpoint file download class, _php tutorial

Introduction: PHP Implementation of support for the continuation of the extension of the file download class,. PHP implementation of the support for the continuation of the file download class, the example of this article describes the PHP implementation of support for the continuation of the file download class and its use, is a very practical technique. Share it to everyone for big

10. From the Dream CMS http file download class, _php tutorial

Introduction: Excerpted from the Dream CMS http file download class. From the Dream CMS http file Download class, this article describes an excerpt from the Dream CMS http file download class. Share to everyone for your reference. as follows: PHP if (!defined (' Dedeinc ')) E

"Related question and answer recommendation":

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.