Share on Facebook Share on Twitter

Use Smart File Downloader to avoid direct files downloads (hide real file paths), and to limit downloads to only some set of file types.
Features:

  1. Customizable allowed file types for download
  2. Predefined mime type settings for following extensions: zip, pdf, doc, xls, ppt, exe, gif, png, jpg, mp3, wav, mpeg, mpg, mpe, mov, avi
  3. Hotlinking protection
  4. Script can log downloads in plain text file. Log file includes: IP, date/time, filename. Can turn this feature on/off.
  5. Automatic mime type detection (if Mimetype or Fileinfo extension installed on the server)

Usage:

  1. Unzip script to some folder
  2. Update download.php with your desired settings for base downloads folder, downloads log file name, allowed file types
  3. Use following syntax for downloads: download.php?f=FileName

Demo Smart Download Link
Download Code (And also Demo for this tutorial)

Other Posts you may be interested in:

  1. Năm 2021 là năm con gì, mệnh gì, hợp tuổi nào?
  2. Cách khóa máy và xóa dữ liệu từ xa trên android phone
  3. DHTML Tooltips
  4. Cách cài đặt Ccleaner để dọn rác máy tính – Phần 3
  5. Những lần Đại Việt đem quân viễn chinh
  6. PHP – Convert number to text
  7. Fix “Microsoft excel cannot open or save any more documents…”

Last updated on September 9th, 2014 at 03:25 pm

What do you think?

x
This website is using cookies. More info. That's Fine