Hi -
I am using an upload script from
The script works fine and the file is uploaded properly, but I want to rename the file to a name provided by the user in the HTML form.
Does anyone know how to modify this script accordingly ... or do you know of a script that will allow a user to upload and rename the file?
I assumed that a simple "rename" function would work, but I haven't been able to implement this (I am new to CGI).
Any help would be much appreciated!
I am using an upload script from
The script works fine and the file is uploaded properly, but I want to rename the file to a name provided by the user in the HTML form.
Does anyone know how to modify this script accordingly ... or do you know of a script that will allow a user to upload and rename the file?
I assumed that a simple "rename" function would work, but I haven't been able to implement this (I am new to CGI).
Any help would be much appreciated!