hello,
to upload any file in php we need to use input type as 'file' but i have one doubt while we get data in $_FILES array using following syntax,
$_FILES['userfile']['name']
$_FILES['userfile']['tmp_name']
my doubt is what is the diff bet name and tmp_name ?? or we can use both to access file or read file or any file related action??
thakns
to upload any file in php we need to use input type as 'file' but i have one doubt while we get data in $_FILES array using following syntax,
$_FILES['userfile']['name']
$_FILES['userfile']['tmp_name']
my doubt is what is the diff bet name and tmp_name ?? or we can use both to access file or read file or any file related action??
thakns