Php upload

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-01-2005
dan
 
Posts: n/a
Default Php upload

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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:04 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0