Login   Register  
PHP Classes
elePHPant
Icontem

Anti-Harvest Download

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Nico den Boer
Name: Nico den Boer <e-mail contact>
Packages: 2 Browse all classes by Nico den Boer Browse all classes by
Country: Czech Republic Czech Republic - PHP jobs in Czech Republic
Age: 46
All time rank: 202924 in Czech Republic Czech Republic
Week rank: 1433 Up15 in Czech Republic Czech Republic Up


  Detailed description   Download .zip .tar.gz  
This class can be used to serve files for download preventing harvesting.

It can look a request variable for the name of the file being requested and then performs several checks.

Currently it cleans the file name from dangerous characters by taking the file base name and then it checks if the requested file exists under a given download directory, checks if the file has an accepted file name extension, check if the user browser is not a known robot, and checks if the user address host name is not in a list of known crawler addresses.

The class serves the file for download if all conditions are satisfied.

  Classes of Nico den Boer  >  Anti-Harvest Download  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Anti-Harvest Download
Base name: antiharvest-download
Description: Serve files for download preventing harvesting
Version: -
PHP version: 5.0
License: BSD License
All time users: 363 users
All time rank: 5718
Week users: 1 user
Week rank: 2054 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file class.protector.inc.php Class class file
Accessible without login Plain text file index.php Example Usage example

Download all files: antiharvest-download.tar.gz antiharvest-download.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.