Location: PHPKode > scripts > Recover Stream > recover-stream/SampleString.php
<?php 

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

$test = new RecoverStringStream();
$test->FileName    = 'sample.zip'; // the name that will be provided to the client
$test->Content     = file_get_contents('sample.zip'); // just load a sample string from a file
$test->ContentType = 'application/x-zip-compressed';
$test->Handle();

?>
Return current item: Recover Stream