upload
This commit is contained in:
1411
setup/upload/server/php/UploadHandler.php
Executable file
1411
setup/upload/server/php/UploadHandler.php
Executable file
File diff suppressed because it is too large
Load Diff
17
setup/upload/server/php/index.php
Normal file
17
setup/upload/server/php/index.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/*
|
||||
* jQuery File Upload Plugin PHP Example
|
||||
* https://github.com/blueimp/jQuery-File-Upload
|
||||
*
|
||||
* Copyright 2010, Sebastian Tschan
|
||||
* https://blueimp.net
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
require('UploadHandler.php');
|
||||
$upload_handler = new UploadHandler(array(
|
||||
'accept_file_types' => '/\.(png|jpe?g|mp4)$/i'
|
||||
));
|
||||
Reference in New Issue
Block a user