how to download the video using php script
<p>In my program I want to add a download option to download the currently straming video. I tried this code:</p>

<pre><code>$psp = "Tom_20_amp__20Jerry_20race-1.flv";
header("Content-type:application/octet-stream");
header("Content-Disposition:attachment;filename=$psp");
</code></pre>

<p>But I get this error:</p>

<blockquote>
  <p>"C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Tom_20_amp__20Jerry_20race-1-5.flv" is not a valid FLV file.</p>
</blockquote>

<p>the video streaming properly. please guide me</p>
