Help for this page

Select Code to Download


  1. or download this
    print "Content-type: video/mp4\n";
    print "Content-length: $filesize\n\n";
    open(FILE, $path) or die;
        while(<FILE>) { print }
    close(FILE);
    
  2. or download this
    open my $fh , '<', $path; 
        print $_ while ( sysread $fh, $_ , 8192 ); 
    close $fh;