Hi,
Saturday, December 7, 2002, 2:56:53 AM, you wrote:
MS> I'm trying to find some documentation on the $_FILES
MS> array, but on PHP, it's a little confusing. I read the
MS> documentation and the comment from rep_spam@..., but
MS> that wasn't too clear to me either.
MS> I'm aware that when uploading a file named
MS> $uploadedfile, the size, name, etc. get stored in
MS> variables called $uploadedfile_size, _name, But
MS> when using the $_FILES array, does everything then get
MS> stored in $_FILES["uploadedfile"],
MS> $_FILES["uploadedfile_size"], etc...?
If your input is like this:
The array you get would look like this:
$_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".
$_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
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php