You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
406 B
18 lines
406 B
5 years ago
|
<?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'
|
||
|
));
|