Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2006-03-23 08:31
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]);

?>