How to implement file breakpoint upload in PHP?

Source: Internet
Author: User
Tags php sample code
Dear Parents,
The company requires the implementation of File breakpoint upload function (can not use flash,ftp), how to achieve it?

Thank you!!!


Reply to discussion (solution)

PHP cannot use HTML forms to implement breakpoint uploads unless it is mated with other clients.

With LS.
You put the breakpoint upload functionality into ActiveX on the page, prompting the user to install ActiveX on a breakpoint that needs to be downloaded.


http://download.csdn.net/detail/charliefang/2603861
http://download.csdn.net/detail/qq1085617561/3196390

Dear Parents,
The company requires the implementation of File breakpoint upload function (can not use flash,ftp), how to achieve it?

Thank you!!!



PHP, breakpoint upload online has a mature HTTP breakpoint continuation control, you can search.
In general, the web implementation of the breakpoint continuation control needs to be implemented by means of a control. However, different browsers use different control techniques, such as IE, the following is the ActiveX technology development of the control, Firefox below is the NPAPI technology development of the control, Chrome is also NPAPI technology development of the control.

Pro:
Company required to implement file breakpoint upload function (can not use flash,ftp), how to achieve it?

Thank you!!!



php, breakpoint upload online has a web large file upload Breakpoint continuation control: Http://www.cnblogs.com/xproer/archive/2012/10/26/2741264.html
This control supports 100G file's breakpoint continuation operation, provides complete development documentation, supports file MD5 verification, and supports file bulk upload.
Browser support: Internet Explorer 6,internet Explorer 7,internet Explorer 8,internet Explorer 9
Maxthon (roaming) 1.x,maxthon (roaming 2.x,tt Browser, QQ browser, 360 Security browser,
Chrome (Google browser), maxthon3.x,360 browser 6.x,firefox
paste files, simplify the selection of file operations:

File MD5 value calculation progress:

File MD5 value is calculated

Server detects the existence of the same file based on MD5

Continue file

Load file list from server

file crosses

file upload complete

Upload folder

and discuz! X2 Integration-Background installation breakpoint continuation control

and discuz! X2 Integration-Background Enable breakpoint continuation control

and discuz! X2 Integration-Background breakpoint continuation control enabled successfully

and discuz! X2 Integration-Front desk Posting page

and discuz! X2 Integration-Upload


page Invoke sample code:

 
      HTTP breakpoint continuation control and MySQL database Demo page (UTF-8)    
 
                      

Resources Download:
CAB installation package
EXE installation package
Development documentation
Upgrade Log
The ASP. NET (C #) sample code:
asp.net-access Example
asp.net-sql2005 Example
JSP Sample code:
jsp-access-gb2312 Example
Jsp-access-utf8 Example
Jsp-sqlserver2005-utf8 Example
Jsp-mysql-utf8 Example
PHP Sample code:
Php-mysql-utf8 Example
Chrome,firefox,ie Breakpoint Continuation Control Example (the following example has integrated the plug-in for the Ie32,ie64,firefox,chrome platform)
asp.net-access Example
asp.net-sql2005 Example
JSP Sample code:
jsp-access-gb2312 Example
Jsp-access-utf8 Example
Jsp-sqlserver2005-utf8 Example
Jsp-mysql-utf8 Example
PHP Sample code:
Php-mysql-utf8 Example

Chrome,firefox,ie Breakpoint Continuation Control Example (the following example has integrated IE (x86), IE (x64), Firefox,chrome Platform plug-in)
asp.net-access Example
asp.net-sql2005 Example
jsp-access-gb2312 Example
Jsp-access-utf8 Example
Jsp-sql2005-utf8 Example
Jsp-mysql-utf8 Example
Php-mysql-utf8 Example

Xproer.httpuploader5:http://www.cnblogs.com/xproer/archive/2012/10/26/2741264.html
This control supports 100G file's breakpoint continuation operation, provides complete development documentation, supports file MD5 verification, and supports file bulk upload.
Browser support: Internet Explorer 6,internet Explorer 7,internet Explorer 8,internet Explorer 9
Maxthon (roaming) 1.x,maxthon (roaming) 2.x,tt browser, QQ browser, 360 secure browser,
Chrome (Google browser), maxthon3.x,360 Speed browser 6.x,firefox
Paste files, simplify the selection of file operations:

File MD5 value Calculation progress:

File MD5 Value Calculated

The server detects if the same file exists based on MD5

Continuation of documents

Load a list of files from the server

The file crosses

File Upload Complete

Upload Folder

and discuz! X2 Integration-Background installation breakpoint continuation control

and discuz! X2 Integration-Enable breakpoint continuation control in the background

and discuz! X2 Integration-Background breakpoint continuation control enabled successfully

and discuz! X2 Integration-Front desk Posting page

and discuz! X2 Integration-Upload


The page invokes the sample code:

 
      HTTP breakpoint continuation control and MySQL database Demo page (UTF-8)    
 
                      

Resources Download:
CAB installation package
EXE installation package
Development documentation
Upgrade Log
The ASP. NET (C #) sample code:
asp.net-access Example
asp.net-sql2005 Example
JSP Sample code:
jsp-access-gb2312 Example
Jsp-access-utf8 Example
Jsp-sqlserver2005-utf8 Example
Jsp-mysql-utf8 Example
PHP Sample code:
Php-mysql-utf8 Example
Chrome,firefox,ie Breakpoint Continuation Control Example (the following example has integrated the plug-in for the Ie32,ie64,firefox,chrome platform)
asp.net-access Example
asp.net-sql2005 Example
JSP Sample code:
jsp-access-gb2312 Example
Jsp-access-utf8 Example
Jsp-sqlserver2005-utf8 Example
Jsp-mysql-utf8 Example
PHP Sample code:
Php-mysql-utf8 Example

Chrome,firefox,ie Breakpoint Continuation Control Example (the following example has integrated IE (x86), IE (x64), Firefox,chrome Platform plug-in)
asp.net-access Example
asp.net-sql2005 Example
jsp-access-gb2312 Example
Jsp-access-utf8 Example
Jsp-sql2005-utf8 Example
Jsp-mysql-utf8 Example
Php-mysql-utf8 Example Company is now doing a project that is used by this control. Not bad. There are more detailed development documentation. Integration is also relatively straightforward.

Turn around. I went back to this place ... The egg hurts.

  • Related Article

    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.