Home
last modified time | relevance | path

Searched refs:_FILES (Results 1 – 25 of 46) sorted by relevance

12

/plugin/flowchartjs/
H A Dadmin.php24 if (!isset($_FILES['_new']) && !isset($_POST['_del'])) return;
26 if (isset($_FILES['_new']) && $_FILES['_new']['error'] == 0){
27 if ('json' != pathinfo($_FILES['_new']['name'], PATHINFO_EXTENSION)){
28 msg($_FILES['_new']['name'].' is not a json file', 2);
30 move_uploaded_file($_FILES['_new']['tmp_name'],
31 DOKU_PLUGIN.'flowchartjs/styles/'.$_FILES['_new']['name']);
32 msg($_FILES['_new']['name'].' has been successfully uploaded', 1);
/plugin/imageshack/
H A Daction.php35 if(!isset($_FILES['imageshack_file'])) return;
37 if($_FILES['imageshack_file']['error'] ||
38 !is_uploaded_file($_FILES['imageshack_file']['tmp_name'])){
40 $_FILES['imageshack_file']['error']),-1);
52 'filename' => $_FILES['imageshack_file']['name'],
53 'mimetype' => $_FILES['imageshack_file']['type'],
54 'body' => file_get_contents($_FILES['imageshack_file']['tmp_name'])
/plugin/dropfiles/action/
H A Dajax.php72 if ($_FILES['qqfile']['tmp_name']) {
73 $id = $INPUT->post->str('mediaid', $_FILES['qqfile']['name']);
88 if ($_FILES['qqfile']['error']) {
89 unset($_FILES['qqfile']);
93 if ($_FILES['qqfile']['tmp_name']) {
94 $res = media_upload($NS, $AUTH, $_FILES['qqfile']);
/plugin/jplayer/vendor/james-heinrich/getid3/demos/
H A Ddemo.write.php68 if (!empty($_FILES['userfile']['tmp_name'])) {
70 if (is_uploaded_file($_FILES['userfile']['tmp_name'])) {
71 if ($APICdata = file_get_contents($_FILES['userfile']['tmp_name'])) {
73 if ($exif_imagetype = exif_imagetype($_FILES['userfile']['tmp_name'])) {
77 $TagData['attached_picture'][0]['description'] = $_FILES['userfile']['name'];
84 echo '<b>cannot open '.htmlentities($_FILES['userfile']['tmp_name']).'</b><br>';
87 echo '<b>!is_uploaded_file('.htmlentities($_FILES['userfile']['tmp_name']).')</b><br>';
/plugin/photogallery/phpThumb/demo/
H A DphpThumb.demo.object.simple.php31 if (is_uploaded_file(@$_FILES['userfile']['tmp_name'])) {
32 $phpThumb->setSourceFilename($_FILES['userfile']['tmp_name']);
33 …$output_filename = './thumbnails/'.basename($_FILES['userfile']['name']).'_'.$thumbnail_width.'.'.…
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/php/
H A Dcommands.php160 if (!isset($_FILES)) {
161 global $_FILES;
166 if ( isset( $_FILES['NewFile'] ) && !is_null( $_FILES['NewFile']['tmp_name'] ) )
170 $oFile = $_FILES['NewFile'] ;
H A Dphpcompat.php9 if ( !isset( $_FILES ) ) {
10 $_FILES = $HTTP_POST_FILES ; variable
/plugin/fckg/fckeditor/editor/filemanager/connectors/php/
H A Dphpcompat.php9 if ( !isset( $_FILES ) ) {
10 $_FILES = $HTTP_POST_FILES ; variable
H A Dcommands.php527 if (!isset($_FILES)) {
528 global $_FILES;
582 $sFileUrl = CombinePaths( $sFileUrl, $_FILES['NewFile']['name']);
583 SendUploadResults( '203', $sFileUrl, $_FILES['NewFile']['name'], $msg ) ;
591 if ( isset( $_FILES['NewFile'] ) && !is_null( $_FILES['NewFile']['tmp_name'] ) )
595 $upload_err = $_FILES['NewFile']['error'];
597 send_ckg_UploadError($upload_err,$sFileUrl, $_FILES['NewFile']['name']);
600 $oFile = $_FILES['NewFile'] ;
/plugin/file2dw/
H A Daction.php153 if ( $_FILES['userFile'] && $_FILES['userFile']['error'] == 0 ) {
154 $this->_msg( array('ok_info','userFile found: '.$_FILES['userFile']['name']) );
208 … && strpos( $this->getConf( 'parserMimeTypeSOffice' ), $_FILES['userFile']['type'] ) !== false) {
413 if ( ! $_FILES['userFile'] ) return $this->_msg('er_file_miss');
416 if ( $_FILES['userFile']['error'] > 0 ) {
417 return $this->_msg( array( 'er_file_upload', $_FILES['userFile']['error'] ) );
436 $this->userFileName = $_FILES['userFile']['name'];
438 if ( ! move_uploaded_file( $_FILES['userFile']['tmp_name'], $this->userFile ) ) {
/plugin/odtplus2dw/
H A Daction.php124 if ( $_FILES['userFile'] ) {
330 if ( ! $_FILES['userFile'] ) return $this->_msg('er_file_miss');
332 if ( $_FILES['userFile']['error'] > 0 ) return $this->_msg( array( 'er_file_upload', $_FILES['userFile']['error'] ) );
334 if ( $this->getConf( 'parserMimeTypeAuthorized' ) != "" && strpos( $this->getConf( 'parserMimeTypeAuthorized' ), $_FILES['userFile']['type'] ) === false ) return $this->_msg( array( 'er_file_format', $_FILES['userFile']['type'] ) );
343 $this->userFileName = $_FILES['userFile']['name'];
345 if ( ! move_uploaded_file( $_FILES['userFile']['tmp_name'], $this->userFile ) ) return $this->_msg('er_file_getFromDownload');
353 if ( $this->getConf( 'parserMimeTypePandoc' ) != "" && strpos( $this->getConf( 'parserMimeTypePandoc' ), $_FILES['userFile']['type'] ) !== false ) {
363 if ( $this->getConf( 'parserMimeTypeSOffice' ) != "" && strpos( $this->getConf( 'parserMimeTypeSOffice' ), $_FILES['userFil
[all...]
/plugin/docimporter/
H A Daction.php25 if ( $_FILES['doc'] ) {
35 $fileName = basename($_FILES['doc']['name']);
39 if(move_uploaded_file($_FILES['doc']['tmp_name'], $tempDir."/". $fileName)){
/plugin/struct/admin/
H A Dschemas.php69 if (isset($_FILES['schemafile']['tmp_name'])) {
70 $json = io_readFile($_FILES['schemafile']['tmp_name'], false);
85 if (isset($_FILES['csvfile']['tmp_name'])) {
89 $csvImporter = new CSVPageImporter($table, $_FILES['csvfile']['tmp_name'], $datatype);
91 $csvImporter = new CSVSerialImporter($table, $_FILES['csvfile']['tmp_name'], $datatype);
93 $csvImporter = new CSVImporter($table, $_FILES['csvfile']['tmp_name'], $datatype);
/plugin/odt2dw/
H A Daction.php107 if ( $_FILES['odtFile'] ) {
313 if ( ! $_FILES['odtFile'] ) return $this->_msg('er_odtFile_miss');
315 …if ( $_FILES['odtFile']['error'] > 0 ) return $this->_msg( array( 'er_odtFile_upload', $_FILES['od…
317 …arserMimeTypeAuthorized' ), $_FILES['odtFile']['type'] ) === false ) return $this->_msg( array( 'e…
323 $this->odtFileName = $_FILES['odtFile']['name'];
325 …if ( ! move_uploaded_file( $_FILES['odtFile']['tmp_name'], $this->odtFile ) ) return $this->_msg('…
/plugin/supa/action/
H A Daction.php60 $f = &$_FILES['Filedata'];
69 …if( empty($_FILES) && empty($_POST) && isset($_SERVER['REQUEST_METHOD']) && strtolower($_SERVER['R…
/plugin/upload/
H A Daction.php40 if($_FILES['upload']['tmp_name']) {
68 if($_FILES['upload']['tmp_name']) {
/plugin/pgn4web/pgn4web/
H A Dviewer.php201 } elseif (count($_FILES) == 0) {
204 } elseif ($_FILES['pgnFile']['error'] === UPLOAD_ERR_OK) {
205 $pgnFileName = $_FILES['pgnFile']['name'];
207 $pgnFileSize = $_FILES['pgnFile']['size'];
217 $pgnSource = $_FILES['pgnFile']['tmp_name'];
221 switch ($_FILES['pgnFile']['error']) {
/plugin/zip/pear/File/
H A DArchive.php495 if (!isset($_FILES[$name])) {
498 switch ($_FILES[$name]['error']) {
505 $_FILES[$name]['name']
510 $_FILES[$name]['name']
522 "Unknown error ".$_FILES[$name]['error']." in file upload. ".
526 if (!is_uploaded_file($_FILES[$name]['tmp_name'])) {
532 $_FILES[$name]['tmp_name'],
533 $_FILES[$name]['name'],
534 $_FILES[$name]['type']
/plugin/pdftools/
H A Dadmin.php57 $filename = $_FILES["zip_file"]["name"];
58 $source = $_FILES["zip_file"]["tmp_name"];
59 $type = $_FILES["zip_file"]["type"];
/plugin/addressbook/
H A Dsyntax.php416 …if (isset($_FILES) && $_FILES['photo']['error'] == UPLOAD_ERR_OK && $_FILES['photo']['tmp_name']!=…
417 if (filesize($_FILES['photo']['tmp_name']) > (2*1024*1024)) {
420 } elseif (exif_imagetype($_FILES['photo']['tmp_name']) != IMAGETYPE_JPEG){
424 $pic = $this->scaleJPG($_FILES['photo']['tmp_name']);
430 …if ($_FILES['photo']['error'] != UPLOAD_ERR_OK && $_FILES['photo']['tmp_name']!='' ) msg('Image co…
/plugin/fileshare/syntax/
H A DFileshare.php80 if ($_FILES ['upload'] ['tmp_name']) {
82 $tmp_name = $_FILES ['upload'] ['tmp_name'];
85 $name = basename ( $_FILES ['upload'] ['name'] );
/plugin/userimportextended/
H A Dadmin.php182 $upl = $this->_isUploadedFile($_FILES['import']['tmp_name']);
183 if (empty($_FILES['import']['size']) || !empty($_FILES['import']['error']) && $upl) {
192 $fd = fopen($_FILES['import']['tmp_name'],'r');
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/
H A Dcommands.php525 if (!isset($_FILES)) {
526 global $_FILES;
536 $keys = array_keys($_FILES);
537 $_FILES['NewFile']['name'] = cleanID(str_replace('&','_', $_FILES['NewFile']['name']));
538 $file_data = filter_var_array($_FILES[$keys[0]], $f_args);
/plugin/preservefilenames/
H A Daction_angua.php56 if (isset($_FILES['qqfile']['name'])) {
58 $filename_orig = (string) $_FILES['qqfile']['name'];
59 } elseif (isset($_FILES['upload']['name'])) {
61 $filename_orig = (string) $_FILES['upload']['name'];
/plugin/advanced/admin/
H A Dimport.php195 $tmp_name = $_FILES['file']['tmp_name'];
196 $file_name = $_FILES['file']['name'];

12