note 88987 added to reserved.variables.files

From: Date: Tue, 17 Feb 2009 14:06:24 +0000
Subject: note 88987 added to reserved.variables.files
Groups: php.notes 
Request: Send a blank email to php-notes+get-150749@lists.php.net to get a copy of this message
If you haven't got a clue what is in this array (and because it is not shown here) here is a list from http://nl2.php.net/manual/en/features.file-upload.post-method.php. The contents of $_FILES from the example form is as follows. Note that this assumes the use of the file upload name userfile, as used in the example script above. This can be any name. $_FILES['userfile']['name'] The original name of the file on the client machine. $_FILES['userfile']['type'] The mime type of the file, if the browser provided this information. An example would be "image/gif". This mime type is however not checked on the PHP side and therefore don't take its value for granted. $_FILES['userfile']['size'] The size, in bytes, of the uploaded file. $_FILES['userfile']['tmp_name'] The temporary filename of the file in which the uploaded file was stored on the server. $_FILES['userfile']['error'] The error code associated with this file upload. This element was added in PHP 4.2.0 ---- Server IP: 213.249.64.162 Probable Submitter: 84.81.147.164 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.files.php Edit -- https://master.php.net/note/edit/88987 Del: integrated -- https://master.php.net/note/delete/88987/integrated Del: useless -- https://master.php.net/note/delete/88987/useless Del: bad code -- https://master.php.net/note/delete/88987/bad+code Del: spam -- https://master.php.net/note/delete/88987/spam Del: non-english -- https://master.php.net/note/delete/88987/non-english Del: in docs -- https://master.php.net/note/delete/88987/in+docs Del: other reasons-- https://master.php.net/note/delete/88987 Reject -- https://master.php.net/note/reject/88987 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#150749) next »