note 129020 added to reserved.variables.files

From: Date: Wed, 08 Nov 2023 16:00:57 +0000
Subject: note 129020 added to reserved.variables.files
Groups: php.notes 
Request: Send a blank email to php-notes+get-220976@lists.php.net to get a copy of this message
Error code returned in $_FILES['userfile']['error']. ■UPLOAD_ERROR_OK, value 0, means no error occurred. ■ UPLOAD_ERR_INI_SIZE, value 1, means that the size of the uploaded file exceeds the maximum value specified in your php.ini file with the upload_max_filesize directive. ■ UPLOAD_ERR_FORM_SIZE, value 2, means that the size of the uploaded file exceeds the maximum value specified in the HTML form in the MAX_FILE_SIZE element. ■ UPLOAD_ERR_PARTIAL, value 3, means that the file was only partially uploaded. ■ UPLOAD_ERR_NO_FILE, value 4, means that no file was uploaded. ■ UPLOAD_ERR_NO_TMP_DIR, value 6, means that no temporary directory is specified in the php.ini. ■ UPLOAD_ERR_CANT_WRITE, value 7, means that writing the file to disk failed. ■ UPLOAD_ERR_EXTENSION, value 8, means that a PHP extension stopped the file upload process. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 2409:40f2:104e:608f:4df0:3b12:db88:5b84) ---- Manual Page -- https://php.net/manual/en/reserved.variables.files.php Edit -- https://main.php.net/note/edit/129020 Del: integrated -- https://main.php.net/note/delete/129020/integrated Del: useless -- https://main.php.net/note/delete/129020/useless Del: bad code -- https://main.php.net/note/delete/129020/bad+code Del: spam -- https://main.php.net/note/delete/129020/spam Del: non-english -- https://main.php.net/note/delete/129020/non-english Del: in docs -- https://main.php.net/note/delete/129020/in+docs Del: other reasons-- https://main.php.net/note/delete/129020 Reject -- https://main.php.net/note/reject/129020 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220976) next »