download file with a different name.. how ?
Posted on 2009-04-12
hi all thank you for your help in advance
well, i have made a code which the user can upload a file and the script changes the file name into a random number plus some thing like date and time to prevent repeation in the server , so the file name comes something like this :
the problem is that when the user comes to download the file he downloads it with the same long name, Can any one help how to make a default name that i can set to make people download the file without the real name on the server.