Hmmmm I decided to try and do it myself. If anyone has suggestions let me know. I know very little perl
Code
code:
This is where he is generating a random file name. What I ideally want is for it to either overwrite the file or create a new file with a number added to it. Since I know so little perl I think I'm just going to take the easy way for now and just have it overwrite it. My dream solution would be for the program to see if the file exists, if so ask the user if he wants to overwrite or rename. I don't know how to do this of course, but if anyone would like to show me how that would be great Instead, I'll just make it use the normal name, but add on the username.
Code
code:
So now lets say you upload Test.zip and your name is John Smith it will rename the file "JohnSmith-Test.zip".
[ July 13, 2001 04:21 PM: Message edited by: James Lewis ]
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.