Hello,
I collect some data and want to return this data in a file to the user.
But how can I make that the user gets the 'save as' dialog box when I made the file? I also want that the file is save in the temp directory on my server, not in another directory.
When I use tempnam the script saves a file in c:\windows\temp\. But I can download this file through <a href...>. Also the file is named something like tempD3.tmp. I want to rename this file to something else. Is this possible.
The idea is just to collect data, write it to a file, and the user must get the 'save as' dialog box.
thanks again for you time.
The One And Only KryptoS
I collect some data and want to return this data in a file to the user.
But how can I make that the user gets the 'save as' dialog box when I made the file? I also want that the file is save in the temp directory on my server, not in another directory.
When I use tempnam the script saves a file in c:\windows\temp\. But I can download this file through <a href...>. Also the file is named something like tempD3.tmp. I want to rename this file to something else. Is this possible.
The idea is just to collect data, write it to a file, and the user must get the 'save as' dialog box.
thanks again for you time.
The One And Only KryptoS