PHP Classes

File: examples/example01.php

Recommend this page to a friend!
  Classes of Hayk Chamyan   No Direct Links!   examples/example01.php   Download  
File: examples/example01.php
Role: Example script
Content type: text/plain
Description: First (basic) example
Class: No Direct Links!
Class to control the process of downloading files
Author: By
Last change:
Date: 20 years ago
Size: 248 bytes


Class file image Download

require_once ("../ndl.class.php");

    if ( (isset(
$_GET["file"])) && !empty($_GET["file"]) )
$ndl = new NDL ($_GET["file"], "./data/", "NDL! example", CD_DISPLAY);
"Unknown error";