dl Download Ticket Service 0.10.1


dl Download Ticket Service 0.10.1

dl Download Ticket Service project is a minimalist and rough download ticket service with automatic expiration, written in PHP. I've been using this service as an email-attachment replacement for my company, but there are no plans on extending it. It will remain minimal: no fancy features, just bug fixes.


Copy the "htdocs" directory to a directory of choice under your web server. Configure the needed parameters inside "include/config.php" to reflect the external url, main password, etc. The "include" directory must not be accessible: if you use apache, the included .htaccess file should be sufficient; consult your web server documentation otherwise.

A spool directory outside of the web server root must be accessible to the web server process. In the example "include/config.php" this is configured as "/var/spool/dl". If you web server runs as "nobody:nogroup", issue:

mkdir -p -m770 /var/spool/dl
chgrp nogroup /var/spool/dl

to create correctly this directory.

The maximal upload limit is determined by several PHP configuration parameters:

file_uploads: must be "On".
upload_tmp_dir: ensure enough space is available.
upload_max_filesize: change as needed.
post_max_size: must be at least 1M larger than upload_max_filesize.

The upload limit as shown in the submission form is determined automatically from the upload_max_filesize parameter. You can also set these parameters with ini_set() inside "include/config.php" or through apache's directives to localize them to the installation path.

There are several bugs in the dba_open() function in PHP 4.x which cannot be fixed. If you can, upgrade PHP to at least 4.3.5. If you cannot upgrade, you need to configure the "$dbHandler" parameter to something available to your PHP installation (usually db3/db2/dbm) and use the Berkeley's DB "db4_load" utility to create an empty database:

echo | db4_load /var/spool/dl/data.db
echo | db4_load /var/spool/dl/user.db
chmod 770 /var/spool/dl/*.db
chgrp nogroup /var/spool/dl/*.db

Depending on your system, you may have to use "db3_load/db2_load/etc" instead of "db4_load". Sometimes these utilities are part of "db*-util" packages under several linux distributions. If you have PHP 4.3.5 or greater, this is done automatically.

Ticket expiration is performed automatically when any web page is requested. This means that expired downloads will still occupy space on the spool directory until a web page is first serviced. If you need to ensure that the spool is purged regularly (for very low traffic servers), setup a scheduled job that requests the "http://dl.example.com/d/" page. Under UNIX, setup a cron entry like this:

0 0 * * * wget -q -O /dev/null "http://dl.example.com/d/" > /dev/null


· Tested with all mayor and minor browsers.
· Tested with PHP 4.2/4.3.
· Byte ranges are currently not supported.
· The submit button is not disabled correctly with Internet Explorer 6 (works on other graphical browsers however).

What's New in This Release:

· Support for commas as email separators has been added.
· Comments can now be specified when creating a ticket.
· Downloads now support byte ranges, allowing them to be resumed.

Product's homepage

What's New in This Release: [ read full changelog ]

· A bug was fixed in the initialization code that could cause grant uploads to fail in certain configurations.

Download and use it now: dl Download Ticket Service 0.10.1 free download

Add a review

Tell us your experience with dl Download Ticket Service 0.10.1

Related programsOur Recommendations

Xclear for Firefox 1.8

Xclear is a Firefox extension that places an X-icon at the end of the URL and search field to clear


Secure back door 0.5

Secure Back Door (SBD) is a tool that provides ultra-secure and minimal access to a computer, which


Black Sails in the Sunset 1

Black Sails in the Sunset theme for Google Chrome browser that fits most resolutions.About Google


filterunit 1.3.2

filterunit is a unit test facility for command-line programs working as a filter. You can define


LORZE erasandcad 0.2 Alpha 3

LORZE erasandcad is an open source graphical 2D CAD program that features an easy-to-use and


vdt52 VNC Viewer 0.0.7

vt52vnc is a VNC viewer which can be used on prehistoric green monochromatic terminals called


UncleBob 0.3.6

UncleBob is a simple Django app that allows you to write per-app tests within these paths:- <


Pod::Inherit 0.07

Ever written a module distribution with base classes and dependencies, that had the pod for the


Plumber 13.3656.3469

Finish the pipes and make sure the water can flow away, in this online game.About Google


Linux::AIO 1.9

Linux::AIO is a Perl module that has been mostly superseded by IO::AIO, which is API


Thumbnail of dl Download Ticket Service 0.10.1


5 stars

Price: FREE

Publisher/Developer: Yuri D'Elia

Release Date: Jul 8, 2012

View Program Details

Top Downloadslast week

Program TagsPopular tags for dl Download Ticket Service 0.10.1

View All