michaelsanford
Translator, Web Developer
I've looked through the php.net help guides on fpasstrhru(); (http://www.php.net/manual/en/function.fpassthru.php)
Still for some reason I can't get the file that is being downloaded (either DOC or PDF or RTF for the most part) to take the name of the original file.
For some reason, it always names the downloaded file download.php, but the content of the file is what I expect.
Is that because of my Apache configuration (I'm not allowing headers to be set properly by PHP)?
Still for some reason I can't get the file that is being downloaded (either DOC or PDF or RTF for the most part) to take the name of the original file.
For some reason, it always names the downloaded file download.php, but the content of the file is what I expect.
Is that because of my Apache configuration (I'm not allowing headers to be set properly by PHP)?