PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Alf-Red   Downloader   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: file that lunch the download
Class: Downloader
Log files served for download
Author: By
Last change: update the function download
Date: 18 years ago
Size: 277 bytes
 

Contents

Class file image Download
<?php

require("./downloader.cls.php") ;

$cookie_name = "test" ;

$download = new DownloadChecker() ;


if(
$HTTP_COOKIE_VARS[$cookie_name] == "")
   
$download->TestCookie($cookie_name);
else
   
$download->Download($cookie_name, $HTTP_COOKIE_VARS[$cookie_name]);

?>