I am trying to access the variables talked about below from the PHP manual, however I am not sure how. I know this may seem like an ultra stupid question to some of you but I would really appreciate a pointer or two on trying to figure it out. At this point all I really want to do is echo the results of these variables. I know how to access the results of a standard array using the brackets, however, it is the burried variables below that which are driving me crazy.
Thanks in advance.
From the PHP Manual...
http://www.php.net/manual/en/features.file-upload.php
The contents of $HTTP_POST_FILES are as follows. Note that this assumes the use of the file upload name 'userfile', as used in the example above:
$HTTP_POST_FILES['userfile']['name']
The original name of the file on the client machine.
$HTTP_POST_FILES['userfile']['type']
The mime type of the file, if the browser provided this information. An example would be "image/gif".
$HTTP_POST_FILES['userfile']['size']
The size, in bytes, of the uploaded file.
$HTTP_POST_FILES['userfile']['tmp_name']
The temporary filename of the file in which the uploaded file was stored on the server.
<<<<<