Need help to make php upload only accept zip, rar and swf
Clash Royale CLAN TAG #URR8PPP Need help to make php upload only accept zip, rar and swf Im currently developing an PHP File Uploader, however I only want the file uploader to accept zip, rar and swf files. I've tried everything but it doesn't work, here is my code. When im uploading for example and zip file im just getting my own upload error. Upload.html <head> <link href="favicon.png" rel="shortcut icon" type="image/x-icon"/> <!-- Compiled and minified CSS --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css"> <link rel="stylesheet" href="pageloader.css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <!-- Compiled and minified JavaScript --> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1....