I use Content-Disposition to open up a save as window, can I use an absolute path?
| From: | googling1000 | Date: | Thu, 22 May 2008 17:13:16 +0000 |
| Subject: | I use Content-Disposition to open up a save as window, can I use an absolute path? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-28906@lists.php.net to get a copy of this message | ||
Now, I have header("Content-Disposition: filename=file1.txt");
I tried to do header("Content-Disposition: filename=C:\Program
Files\file1.txt");
But, it's not working. The save as window pops up, but it doesn't give the
file the right filename (which is file1), and it doesn't know the type
(which is .txt)
So, we can't use an absolute path with Content-Disposition?
--
View this message in context: http://www.nabble.com/I-use-Content-Disposition-to-open-up-a-save-as-window%2C-can-I-use-an-absolute-path--tp17409092p17409092.html
Sent from the Php - Windows mailing list archive at Nabble.com.