"php.ini"
file whether file upload permission has given or not.The operation will be default
. But when working in local systems one have to check whether the file_uploads is on or not.If off, set that to on.
form method ="post"
enctype="multipart/form-data"
. It will explain the content-type while submitting the form.$_FILES
.
move_uploaded_file()
which moves the file from temporary location to permanent location.