Delete File - Rename File - Show File?
Posted: Fri Mar 28, 2003 7:45 pm
Hi guys!
I have 3 questions:
1. How can I delete a file from my Website? I searched but got 1600 posts and just couldn't find anything
2. I have an upload script wich uploads files to my Website. How can I make it so when someone uploads a file, it automatically renames the file to something else? e.g file name was image.gif it would rename it to something like 27438736213.gif and the same with any other .file extension?
3. When people upload their files I don't want them to see the directory the uploaded it to. For example if all the files where uploaded to the folder uploads, when they want to view the image it takes them to open.php?file=images.gif and that will open the file uploads/image.gif.
Any help with either 3 would be GREAT!
Thank you!
Ben
I have 3 questions:
1. How can I delete a file from my Website? I searched but got 1600 posts and just couldn't find anything
2. I have an upload script wich uploads files to my Website. How can I make it so when someone uploads a file, it automatically renames the file to something else? e.g file name was image.gif it would rename it to something like 27438736213.gif and the same with any other .file extension?
3. When people upload their files I don't want them to see the directory the uploaded it to. For example if all the files where uploaded to the folder uploads, when they want to view the image it takes them to open.php?file=images.gif and that will open the file uploads/image.gif.
Any help with either 3 would be GREAT!
Thank you!
Ben