Forum Moderators: coopster
No, you aren't going to be able to tell this with PHP as PHP is a server-side technology.
As for the file download, you have to change the response headers appropriately for the file for the download to occur properly. Something like the following, actually:
header('Content-type: audio/mp4');
header('Content-Disposition: attachment; filename="audio.mp4"'); /* This is key to download dialog */
[url=http://www.php.net/readfile]readfile[/url]('/path/to/audio.mp4');
A few questions, first this is a video do I need to change the audio to video. I also notices some headers that were "video/quicktime" do I need to do that instead.
Content-type: video/mp4