PHP Classes

File: SampleFile.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Setec Astronomy  >  Recover Stream  >  SampleFile.php  >  Download  
File: SampleFile.php
Role: Example script
Content type: text/plain
Description: Example of RecoverFileStream class usage
Class: Recover Stream
Serve content for download that can be resumed
Author: By
Last change:
Date: 9 years ago
Size: 278 bytes


Class file image Download

require_once(dirname(__FILE__) . '/RecoverFileStream.class.php');

$test = new RecoverFileStream();
$test->FileName = ''; // a demo ZIP archive, you can use whatever you want
$test->ContentType = 'application/x-zip-compressed';