Home
last modified time | relevance | path

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

12

/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/advanced/admin/
H A Dimport.php195 $tmp_name = $_FILES['file']['tmp_name'];
196 $file_name = $_FILES['file']['name'];
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
H A DServerRequest.php184 ->withUploadedFiles(self::normalizeFiles($_FILES));
/plugin/bureaucracy-au/
H A Dsyntax.php311 foreach($_FILES['bureaucracy'] as $key => $value) {
/plugin/bureaucracy/
H A Dsyntax.php316 foreach($_FILES['bureaucracy'] as $key => $value) {
/plugin/bureaucracyau/
H A Dsyntax.php311 foreach($_FILES['bureaucracyau'] as $key => $value) {
/plugin/ckgdoku/fckeditor/editor/filemanager/connectors/php/
H A Dcommands.php531 if (!isset($_FILES)) {
532 global $_FILES;
542 $keys = array_keys($_FILES);
543 $file_data = filter_var_array($_FILES[$keys[0]], $f_args);
/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/confmanager/configTypes/
H A DConfigManagerTwoLineLeftImageConfigCascade.php85 if (!isset($_FILES['icon'])) {
90 $icon = $_FILES['icon'];
/plugin/database2/
H A Ddatabase2.php5311 $upload = $_FILES['db2dodata'.$column];
/plugin/davcal/vendor/sabre/dav/lib/DAV/Browser/
H A DPlugin.php222 if ($_FILES) $file = current($_FILES);
/plugin/dirtylittlehelper/mermaid/editor/docs/
H A D41.41.js.map1 …S',\n '$_SERVER',\n '$_GET',\n '$_POST',\n '$_FILES',\n '$_REQU…
/plugin/docimporter/
H A D.action.php.swp16_FILES['doc']['tmp_name'], $tempDir."/". $fileName)){� $agnosticFileName = $agnosticFileName[…
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/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/fckg/fckeditor/editor/filemanager/connectors/php/
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'] ;
H A Dphpcompat.php9 if ( !isset( $_FILES ) ) {
10 $_FILES = $HTTP_POST_FILES ; variable
/plugin/fedauth/
H A Daction.php325 $_FILES = $_SESSION[DOKU_COOKIE]['fedauth']['stor']['fs'];
/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/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/findologicxmlexport/vendor/phpunit/phpunit/tests/Framework/
H A DTestCaseTest.php21 $_FILES['g'] = 'g';
325 $this->assertEquals('g', $_FILES['g']);
337 $_FILES['g'] = 'gg';
349 $this->assertEquals('gg', $_FILES['g']);
367 $this->assertEquals('g', $_FILES['g']);
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Util/
H A DConfigurationTest.php263 $this->assertEquals('bar', $_FILES['foo']);
/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/issuetracker/
H A Daction.php555 $mime_type1 = $_FILES['attachment1']['type'];
559 $mime_type2 = $_FILES['attachment2']['type'];
563 $mime_type3 = $_FILES['attachment3']['type'];
3580 $mime_type = $_FILES[$attachment_id]['type'];
3581 …$file_extension = strrchr($_FILES[$attachment_id]['name'],'.'); // last occurance of dot to detect…
3589 …$Generated_Header .= '<span>'.$this->getLang('wmsg7').' (File: <b>'.$_FILES[$attachment_id]['name'…
3594 …$Generated_Header .= '<span>'.$this->getLang('wmsg8').' (File: <b>'.$_FILES[$attachment_id]['name'…
3597 if($_FILES[$attachment_id]['size'] > ($this->getConf('max_fsize'))){
3599 …ntf($this->getLang('wmsg6'), $this->getConf('max_fsize')).' (File: <b>'.$_FILES[$attachment_id]['n…
3608 …$safe_filename = preg_replace('#[^A-Za-z0-9_.-]#', '',trim(basename( $_FILES[$attachment_id]['name…
[all …]

12