note 110096 added to reserved.variables.files

From: Date: Tue, 18 Sep 2012 23:25:01 +0000
Subject: note 110096 added to reserved.variables.files
Groups: php.notes 
Request: Send a blank email to php-notes+get-190874@lists.php.net to get a copy of this message
Information about the uploaded file is stored in the $_FILES array like this: file is the name/literal of the upload field supplied by the form: $_FILES['file']['name'] The name of the uploaded file (e.g., smiley.jpg) $_FILES['file']['type'] The content type of the file (e.g., image/jpeg) $_FILES['file']['size'] The file’s size in bytes $_FILES['file']['tmp_name'] The name of the temporary file stored on the server $_FILES['file']['error'] The error code resulting from the file upload Common types: application/pdf application/zip audio/mpeg image/gif image/jpeg image/png multipart/form-data text/css text/html text/plain text/xml video/mpeg etc. p.s. whomever is an admin should probably add this into the main documentation. ---- Server IP: 69.147.83.199 Probable Submitter: 130.212.3.51 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.files.php Edit -- https://master.php.net/note/edit/110096 Del: integrated -- https://master.php.net/note/delete/110096/integrated Del: useless -- https://master.php.net/note/delete/110096/useless Del: bad code -- https://master.php.net/note/delete/110096/bad+code Del: spam -- https://master.php.net/note/delete/110096/spam Del: non-english -- https://master.php.net/note/delete/110096/non-english Del: in docs -- https://master.php.net/note/delete/110096/in+docs Del: other reasons-- https://master.php.net/note/delete/110096 Reject -- https://master.php.net/note/reject/110096 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#190874) next »