ResumesInn
Welcome  ,
Interview Questions >> PHP >> How to get the uploaded file information ( uploaded through PHP file upload mechanism )in the PHP receiving script ?
Next Question Previous Question

How to get the uploaded file information ( uploaded through PHP file upload mechanism )in the PHP receiving script ?



  Joseph Ranjan wrote ...
We can receive through an array called $_FILES . $_FILES was an two dimensional array .

$_FILES["field_name"]["error"] - Returns the error occurred during file upload .
$_FILES["field_name"]["name"] - Returns the original file name.
$_FILES["field_name"]["type"] - Returns the file type.
$_FILES["field_name"]["size"] - Returns the size of the file in bytes.
$_FILES["field_name"]["tmp_name"] - Returns the temporary file name used by PHP for upload .



Login to write answer for this question !
Want to place your ads in this website ?
50USD Per Month for single placement. Contact Us
All Rights Reserved . Developed by SJRANJAN