great, I assumed correctly then right?
Thank you so much for the clarification. Then, I'll continue to use the header function for my download script since I'm redirecting to large videos hosting on a remote server. It would be extremely wasteful to use the readfile...
Ok, one more question. On my download script where i'm using the header redirection. ie. download.php?id=58.
When I rightclick and save as..it saves as download.php.fileextensionoffile. So, the filename is not what I would like it to be. NOTE: I'm using firefox (mozilla) browser and I tried it on IE and it actually saves correctly...strange. Is there any way I can get this to save as the actual filename itself. Of course I got this working using the readfile since I can send additional headers like content disposition and stuff like that, but i'm trying to do it using a header redirection.
If you're using firefox or a mozilla browser... Here is an example. (right click and save as). Its a wmv video file. Should be saving as familyguymontage-davescrib.com.wmv its saving as download.php.wmv
http://davescrib.com/downloads/download.php?id=15&title=FamilyGuyMontage1