After the first releaseof my simple php download counter script, I present a new improved
version! It is a complete rewrite, with a better interface and cleaner
code.Its written in php/javascript/css.

You can watch a demo here.

Minimum Requirements :

A web server that supports php. User should have write permissions to the directory.

Installation Notes :

1. Download
2. Unzip in your webserver http://example.com/path
3. chmod /path/Includes/log to 777
4. Drop files/folders and use!
5. Directly link files as http://example.com/path/download.php?fname=<./path to file>

Features :

1. Tree like listing of all files and folders within the directory.
2. No hassles with changing folders. Just expand the folder, and click on file.
3. No database required. All stats are stored in log file.
4. Icons displayed for most file types.
5. XHTML and CSS valid code.

Tested with Firefox 2,3 Opera, Chrome, Safari, and IE 7.

Bugs :

1. Displaying file size and downloads for nested files is broken. Needs formatting.

Credits :

Read file readme.txt

Terms:

Should work reasonably well on most servers. No guarantees
whatsoever! You can modify and distribute as you like. But please make
sure the readme.txt file is present when you distribute it.

All comments and suggestions welcome. Email : srinath [AT] iambot [DOT] net

8 Responses to “dScript – php file download counter script”

  1. smochtar

    hello,
    cannot download using ur link download provided..

    it will be here coz i’ve modified ur link…sorry

    Reply

  2. Srinath

    Sorry for the broken link. Fixed now.

    Reply

  3. dScript – A simple php download counter « Restless Chatter

    [...] This version is stale. Get a more recent version here [...]

    Reply

  4. KSz

    Thanks! This is a great job…

    Reply

  5. Mark

    Nice thanks for sharing :) this is a cool script

    Reply

  6. Phil

    This is a great script and exactly what I have been looking a long time for! Thanks for making it. The only thing that would make it better is if you could make it only list certain file types, or to ignore certain file types.

    Reply

Trackback URI | Comments RSS

Leave a Reply

Name (required)

Email (required)

Website

Speak your mind

    Stuff
    Everyone
    Calendar
    January 2009
    M T W T F S S
        Feb »
     1234
    567891011
    12131415161718
    19202122232425
    262728293031  
    Rate this blog
    Clickity
    12427
Get Adobe Flash playerPlugin by wpburn.com wordpress themes