Haseldow
10-13-2003, 06:11 AM
Hi,
I have a situation where I have a file called "default.xls" on the web server. Now I want to somehow make it possible that when a user opens or saves the file, the file is given an unique file name say "abc123.xls" for that user.
What I mean is; on the web page there would be a link to file called "abc123.xls" and if someone clicks on the link, he will be downloading the contents of "default.xls" with the name of "abc123.xls".
default.xls contents are the same regardless of which name is given to the user downloading the file.
Any way to do this (with PHP/JavaScript preferably).
Thanks,
Haseldow
I have a situation where I have a file called "default.xls" on the web server. Now I want to somehow make it possible that when a user opens or saves the file, the file is given an unique file name say "abc123.xls" for that user.
What I mean is; on the web page there would be a link to file called "abc123.xls" and if someone clicks on the link, he will be downloading the contents of "default.xls" with the name of "abc123.xls".
default.xls contents are the same regardless of which name is given to the user downloading the file.
Any way to do this (with PHP/JavaScript preferably).
Thanks,
Haseldow