This is a discussion on Php upload within the PHP General forums, part of the PHP Programming Forums category; Hi, Can anyone tell me how to make an upload script that would do the following. Check upload directory, and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
Can anyone tell me how to make an upload script that would do the following. Check upload directory, and if there the upload directory is not present, make the directory. Check file size, if file size is over maximum allowable given size, then don't upload. Check file ext. If file ext is not one of those given, then don't upload file. Be able to change final file name on the directory, when uploading to something given by a form field. Replace existing files on the directory. The following that I would like it to be able to do is not related to the file uploaded: Be able to delete/rename files in given directory View file by clicking on link in upload page. View date and time created. Okay, if the above is not enough, I would also like it to be able to record all of these actions and send them to a database. Sorry, to all those people who are impatient with me because I have asked questions about file upload scripts before. :) Thanks a bunch Daniel |
![]() |
| Thread Tools | |
| Display Modes | |
|
|