I’ve made an easy to use file hosting script that is free for download.
It has some nice features such as:
- Allowed file extensions.
- File size limit.
- Generated file names.
- BBcode, IMG code, Url, etc.
- Terms of Conditions
Generated file names on the server are created using the functions rand() and the md5() hash generator. Here is the code:
[code lang=”php”]
[/code]
The script also uses javascript to check for the Terms and Conditions checkbox being checked to make the submit button enabled.
I will be updating this script with more features, but this is meant to be a simple file hosting script. I will later include a download file page.
Here is what the upload form looks like: