04-22-2007, 01:48 PM
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
"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