Uploaded File Information in the Receiving Script?

Uploaded File Information in the Receiving Script?

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

View Answers

December 27, 2010 at 4:08 PM

Hi friends,

Once the Web server received the uploaded file, it will call the PHP script specified in the form action attribute to process them. This receiving PHP script can get the uploaded file information through the predefined array called $FILES. Uploaded file information is organized in $FILES as a two-dimensional array as:

$_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.

The $fieldName is the name used in the <INPUT TYPE=FILE, NAME=fieldName>.

Thanks...









Related Tutorials/Questions & Answers:
Uploaded File Information in the Receiving Script?
How To Get the Uploaded File Information in the Receiving Script?
Advertisements
Uploaded File View Page
where to stroe this uploaded file
PHP function is_uploaded_file() and example
display uploaded file option in editable form
display uploaded file option in editable form
PHP function uploaded_file() and example
ModuleNotFoundError: No module named 'scriptd'
ModuleNotFoundError: No module named 'scripty'
How to change uploaded file root path ?
Sending and receiving information to the UDP Client in Java
What is the maximum size of a file that can be uploaded using PHP and how can we change this?
How to get full path of the uploaded file using commons fileupload jar file
Retrieving list of uploaded files.
What is a PHP File?
pre view of image uploaded
pre view of image uploaded
pre view of image uploaded
Struts File Upload and Save
Conflict with jQuery scripts
SimplytheBest Scripts
Ajax scripts
Help me to view uploaded on browser window
receiving null value in back bean by the jsf page
message sending and receiving using UDP TCP in J2ME
ModuleNotFoundError: No module named 'scripts'
SMS Receiving JAVA application from GSM modem
how to download the uploaded folder files using jsp
Sending and receiving xml message using Java Program
Sending and receiving xml message using Java Program
Setting up Database with the help of PHP Scripts.
how to save uploaded image in database using javascript
Thumbnail creator for uploaded video files in jsp
Free Ajax Scripts
to update the information
information updations
file
file
file
information
ModuleNotFoundError: No module named 'alice-scripts'
ModuleNotFoundError: No module named 'alice-scripts'
ModuleNotFoundError: No module named 'astro-scripts'
ModuleNotFoundError: No module named 'aws-scripts'
ModuleNotFoundError: No module named 'deepbiome_scripts'
ModuleNotFoundError: No module named 'docker-scripts'
ModuleNotFoundError: No module named 'ep2-tutor-scripts'
ModuleNotFoundError: No module named 'fabric-scripts'
ModuleNotFoundError: No module named 'find-scripts'

Ads