Home » Demos » PHP Upload and file / directory handling scripts

PHP Upload and file / directory handling scripts

This example page is a demonstration of three functions and one PHP class which are available (for free) on our site:

Open a directory | PHP file download | Directories oldest file | PHP Upload Script (class)

PHP upload function

Max. filesize: 80KB | Allowed file extensions are: .png, .zip, .pdf, .gif, .bmp

Try also the Ajax php upload example.

Directory functions (order by file date)

DOWNLOAD or open files on your own risk! (Download only the file you've uploaded before)

These are the files inside the upload directory:

Related PHP functions:

move_uploaded_file | is_uploaded_file | opendir | readdir | substr | fread