A PHP Class for uploading files to server

A PHP class to upload files to server

The software includes the functions as below:
1, according to the date, produce a subfolder, like: 201010;
2, check if the subfolder exists; if it doesn’t exist, build the subfolder in the current path; and it will also build a subfolder named “small” in this subfolder, which will be used when a big image is uploaded;
3, upload the file on this subfolder; If the upload file is an image and the image is bigger then expected, a small one will be produced and put in the “small” subfolder. On the return string, the small one will be shown in <img> and linked to the orignal one.

Software download: upload.v1.1.rar    under license GNU GPL

Leave a Reply

Your email address will not be published. Required fields are marked *