Question:Discuss five predefined subscript of of $_FILES super global variable? 

Answer 

$_FILES[‘upload-name’][‘’name]: The name of the file as uploaded from the client to the server.
$_FILES[‘upload-name’][‘type’]:
The MIME type of the uploaded file.
$_FILES[‘upload-name’][‘size’] :The byte size of the uploaded file.
$_FILES[‘upload-name’][‘tmp_name’] :
Once uploaded, the file will be assigned a temporary name before it is moved to its final location.
$_FILES[‘upload-name’][‘error’]: An upload status code. Despite the name, this variable will be populated even in the case of success.

 


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd.com\answers\column_answer_two.php on line 128
+ Report
Total Preview: 696
Discuss five predefined subscript of of $_FILES super global variable?
Copyright © 2024. Powered by Intellect Software Ltd