Prevent Flash caching

Run your file through a php script.

<?php
$file = "video.flv";

set_time_limit(3600);

if (file_exists($file)) {
#    header('Content-Description: File Transfer');
#    header('Content-Type: application/octet-stream');
#    header('Content-Disposition: attachment; filename='.basename($file));
   header('Content-Transfer-Encoding: binary');
    header('Expires: 0');
    header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
#    header('Pragma: public');
   header('Content-Length: ' . filesize($file));
#    ob_clean();
#    flush();
   readfile($file);
    exit;
}
?>

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.