<?php
/*
file: dnl.php v0.1 26/04/2020
Use this script in your download links such as :
- <a href="dnl.php?f=3">download</a>
- <a href="dnl.php?f=eccbc87e4b5ce2fe28308fd9f2a7baf3">download</a>
See the doc for the value of the parameter f
You can copy the whole content of class.dnl.php (except the PHP
tags <?php and ?>) and paste it instead of the line : require("lib/class.dnl.php");
*/
$num = $_GET["f"];
require("lib/class.dnl.php");
if($num) { $file = new dnl($num); }
?>
|