phprockers-logo

How To Get the Uploaded File Information in the Receiving Script?

$_FILES[$fieldName]['name'] - The Original file name on the browser system.

$_FILES[$fieldName]['type'] - The file type determined by the browser.

$_FILES[$fieldName]['size'] - The Number of bytes of the file content.

$_FILES[$fieldName]['tmp_name'] - The temporary filename of the file in which the uploaded file was stored on the server.

$_FILES[$fieldName]['error'] - The error code associated with this file upload.

0 comments:

Post a Comment