i\'m trying to create downloadable video-files. In my site there is a list of files. All videos are in .flv-format (flash). There is exact link to the file for the all video
Create a PHP page with the following:
Set $filepath
to the path of the file to be downloaded, and set Content-Type
to the mime type of the file being downloaded.
Point the "download" link to this page.
For multiple files of the same type:
Replace the information as specified above, and point the "download" link to this page with a GET parameter named "filepath" containing the file path.
For example, if you name this php file "download.php", point the download link for a file named "movie.mov" (in the same directory as download.php) to "download.php?filepath=movie.mov".