Posts

Showing posts with the label zip

Need help to make php upload only accept zip, rar and swf

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

The best zip library with public domain license [closed]

Image
Clash Royale CLAN TAG #URR8PPP The best zip library with public domain license [closed] Does anyone know zip library of C/C++ in public domain license? It meets the following requirements. This question appears to be off-topic. The users who voted to close gave this specific reason: "Public domain" has a very specific meaning; is that what you really meant? What are the license requirements that you need. Can you manage with something less than public domain, such as BSD license or LGPL? – Clifford Jul 10 '10 at 19:34 This doesn't make sense. There is no such thing as a "public domain license". If it's public domain, it doesn't need a license. In fact, if it's public domain it cannot have a license, since a license is issued by the copyright holders, but public domain wor...