Hi all,
I'm trying to save a text file from my server to a client machine through
PHP and am using the following headers:
header("Content-type: application/text");
header("Content-Disposition: attachment; filename=variables.txt");
The header does save a text file from the server to my desktop alright, but
it strips everything in the text file. I have a file named variables.txt
with nothing in it. I have uploaded a text file that does have test data in
it. Furthermore, I set all the user rights in Unix to Read / Write/Execute
but everytime PHP opens or saves it, it does so without any of the variables
I've entered.
Does anyone have a suggestion as to what I'm doing wrong?
Thanks!!!!
Doug Coning
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php