PHP Classes

What is the best PHP download class?: Create download link for file

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP download class?  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP download class?

Edit

Picture of Nguyen Tung by Nguyen Tung - 10 years ago (2015-04-28)

Create download link for file

This request is clear and relevant.
This request is not clear or is not relevant.

+4

I need to create link to download for a given file.

  • 1 Clarification request
  • 1. Picture of Dave Smith by Dave Smith - 10 years ago (2015-04-29) Reply

    Are you looking to obscure the files location on the server or just force the download of a file type that normally would be processed or displayed?

    Ask clarification

    2 Recommendations

    File Download Manage: Download and output remote files

    This class can download and output remote files.

    It can send a HTTP request to a remote Web server to retrieve a file with a given URL.

    The class can retrieve parts of the content of the files according to the request ranged specified by the current HTTP request Range header.

    The class can output the contents of the file.
    This recommendation solves the problem.
    This recommendation does not solve the problem.

    +1

    Picture of Anthony Amolochitis by Anthony Amolochitis package author package author Reputation 505 - 9 years ago (2015-05-18) Comment

    This class will allow you to download the file you tell it in code.  The file can be placed in a folder that is not accessible via web, and still be downloaded with this class.  It is super easy to use as well.  I hope this helps you.

     


    PHP Digital Download Script: Serve files for download with codes given to users

    This class can serve files for download with codes given to users.

    It looks up in database for codes associated to files to be made available for download to users that enter such codes in the Web site.

    The class serves the file associated to a code and it keeps track of the number of downloads.

    The files may optionally be served only a limited number of times or for a limited period of time.

    The class can also generate PDF documents as labels with the download codes written in them over custom logo images.

    The labels can be printed so they can be used to distribute the download codes to the users in printed materials.
    This recommendation solves the problem.
    This recommendation does not solve the problem.

    +3

    Picture of Dave Smith by Dave Smith Reputation 7625 - 10 years ago (2015-05-09) Comment

    This may be more than you are after, it utilizes a security layer to prevent unauthorized downloads. It also provides different methods for making the file available to the public.


    Recommend package
    : 
    :