PHP, HTML file upload, How to enable certain file types not others |
PHP, HTML file upload, How to enable certain file types not others |
MartinP-S |
Jun 6 2016, 01:48 PM
Post
#1
|
Unregistered |
Hello...
I am making a html file upload at: martinmmps.com Does anyone know how to stop some types of files downloaded (app, exe, zip, dmg files) using php(NOT HOW TO CHOOSE WHICH TYPES OF FILES CAN BE DOWNLOADED!) HERE IS THE CODE I AM USING: PHP here is the w3schools tutorial that i used to make the file upload. |
|
|
Christian J |
Jun 6 2016, 04:30 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,722 Joined: 10-August 06 Member No.: 7 |
Does anyone know how to stop some types of files downloaded (app, exe, zip, dmg files) using php You meant uploaded, right? Otherwise please elaborate. QUOTE The tutorial does explain how you can stop files with certain file extensions from being uploaded (a file extension doesn't necessarly say anything about the contents of the file, though). |
Lo-Fi Version | Time is now: 21st September 2024 - 04:20 PM |