Help - Search - Members - Calendar
Full Version: PHP, HTML file upload
HTMLHelp Forums > Programming > Server-side Scripting
MartinP-S
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

biggrin.gif laugh.gif smile.gif wink.gif

here is the w3schools tutorial that i used to make the file upload.

Christian J
QUOTE(MartinP-S @ Jun 6 2016, 08:48 PM) *

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. unsure.gif

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).

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.