Aspies For Freedom

Full Version: PHP Script.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I would like a PHP script that enables user's to upload files to a particular folder. (/users). And then it disables it coming up with an error saying
"Sorry, you can only upload file a day."

It does not accept the following extensions:
*.exe ; *.com ; *.nt ; Every sound format  (*.wav ; *.mp3 ; *.au ; *.xm) ; Every movie format (*.avi ; *.mpg ; *.wmv ; *.asf ; *.mov ; *.rm) ; *.zip ; *.rar

Accepts:

*.html(htm) ; *.php ; *.js ; *.css ; *.asp ; Picture files (*.png ; *.jpg )

Comes up with error message saying invalid file extension.

"FILE_EXT is forbidden."

and for pictures (if not PNG or JPG)

"Picture extension FILE_EXT is forbidden."

You will get full credit at the footer of my site, and my website + message board.

Thanks
Check out php.resourceindex.com they have a full list of scripts, you should be able to find what you need.
thx, i found a decent one for my site.
Reference URL's