PHP Classes
elePHPant
Icontem

Downloader: Log files served for download

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-04-30 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,761 All time: 2,134 This week: 1,069Up
Version License Categories
download_checker 1.0GNU General Publi...Files and Folders, Logging
Description Author

This class can be used to serve files for download and keep track of who downloaded each file in a log file.

It can prompt the user to enter his first name, last name e-mail address in the form.

These details are stored in cookies so it is not necessary to prompt the user again in future downloads.

Once the user has entered the requested details, the class can serve a given file for download from a list of files available in a server side download directory.

The details of the user and the downloaded file are stored in a log file. This log file can be processed with a common logs processing program.

Picture of Alf-Red
Name: Alf-Red <contact>
Classes: 9 packages by
Country: Switzerland Switzerland
Age: 44
All time rank: 831 in Switzerland Switzerland
Week rank: 261 Down4 in Switzerland Switzerland Down

Details
DownloadChecker

Is a little class that check and store the firstname, lastname, and email of some
one that want to download a file from your website...

Content :

in page1.htm it is a normal page that open a popup window
to ask your information or to lunch the download if
you are a validate user.

the page index.php, is the page that is in the popup window...

to set up and use this class :

in the page1.htm when you use the link, do not forget to update the link to the popup window
in the index.php page do not forget to update the name of the cookie
in the downloader.cls.php

set up the first vars to define 
the place to find the downloadable files
the place to find the log file
the name of the log file
  Files folder image Files  
File Role Description
Plain text file downloader.cls.php Class the class download file
Accessible without login Plain text file index.php Example file that lunch the download
Accessible without login HTML file page1.htm Data example page
Accessible without login Plain text file readme.txt Doc. readme file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,761
This week:0
All time:2,134
This week:1,069Up