Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (51)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-03-20 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 761 This week: 1All time: 4,087 This week: 1,188Up
Version License PHP version Categories  
digital-download 1.0.0BSD License5.3PHP 5, Files and Folders, Content man...
Description Author  

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.

Recommendations  

How to hide the download URL
Script to hide download url

Innovation Award  
PHP Programming Innovation award nominee
April 2013
Number 2


Prize: One downloadable copy of Komodo IDE
Many people work on producing digital content that is meant to be sold to people that access it by downloading the content from a Web site.

This class can implement a digital download system to make exclusive content available certain users.

Manuel Lemos
Picture of Vincenzo Di Biaggio
Name: Vincenzo Di Biaggio is available for providing paid consulting. Contact Vincenzo Di Biaggio .
Classes: 1 package by
Country: Italy Italy
Age: 33
All time rank: 246296 in Italy Italy
Week rank: 953 Up38 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagedownload (3 files)
Files folder imageextSrc (4 files, 2 directories)
Files folder imagehtmlSrc (2 files)
Files folder imagelabels (1 file)
Plain text file digitalDownload.php Class Class source
Accessible without login Plain text file download.php Appl. Application script
Accessible without login Plain text file giveMeTheFile.php Appl. Application script
Accessible without login Plain text file index.php Appl. Application script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  download  
File Role Description
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login Image file ajax-loader.gif Icon Icon image
  Accessible without login Plain text file prova.txt Data Documentation

  Files folder image Files  /  extSrc  
File Role Description
Files folder imagefont (14 files)
Files folder imagemakefont (22 files)
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Plain text file fpdf.php Class Class source
  Plain text file taylorPdf.php Class Class source
  Plain text file writeOverImage.php Class Class source

  Files folder image Files  /  extSrc  /  font  
File Role Description
  Accessible without login Plain text file courier.php Aux. Auxiliary script
  Accessible without login Plain text file courierb.php Aux. Auxiliary script
  Accessible without login Plain text file courierbi.php Aux. Auxiliary script
  Accessible without login Plain text file courieri.php Aux. Auxiliary script
  Accessible without login Plain text file helvetica.php Aux. Auxiliary script
  Accessible without login Plain text file helveticab.php Aux. Auxiliary script
  Accessible without login Plain text file helveticabi.php Aux. Auxiliary script
  Accessible without login Plain text file helveticai.php Aux. Auxiliary script
  Accessible without login Plain text file symbol.php Aux. Auxiliary script
  Accessible without login Plain text file times.php Aux. Auxiliary script
  Accessible without login Plain text file timesb.php Aux. Auxiliary script
  Accessible without login Plain text file timesbi.php Aux. Auxiliary script
  Accessible without login Plain text file timesi.php Aux. Auxiliary script
  Accessible without login Plain text file zapfdingbats.php Aux. Auxiliary script

  Files folder image Files  /  extSrc  /  makefont  
File Role Description
  Accessible without login Plain text file cp1250.map Data Auxiliary data
  Accessible without login Plain text file cp1251.map Data Auxiliary data
  Accessible without login Plain text file cp1252.map Data Auxiliary data
  Accessible without login Plain text file cp1253.map Data Auxiliary data
  Accessible without login Plain text file cp1254.map Data Auxiliary data
  Accessible without login Plain text file cp1255.map Data Auxiliary data
  Accessible without login Plain text file cp1257.map Data Auxiliary data
  Accessible without login Plain text file cp1258.map Data Auxiliary data
  Accessible without login Plain text file cp874.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-1.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-11.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-15.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-16.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-2.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-4.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-5.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-7.map Data Auxiliary data
  Accessible without login Plain text file iso-8859-9.map Data Auxiliary data
  Accessible without login Plain text file koi8-r.map Data Auxiliary data
  Accessible without login Plain text file koi8-u.map Data Auxiliary data
  Accessible without login Plain text file makefont.php Aux. Auxiliary script
  Accessible without login Plain text file ttfparser.php Aux. Auxiliary script

  Files folder image Files  /  htmlSrc  
File Role Description
  Accessible without login Image file ajax-loader.gif Icon Icon image
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files  /  labels  
File Role Description
  Accessible without login Image file digitaldownload.gif Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%Total:761All time:4,087
 This week:1This week:1,188Up