I\'m trying to upload a file to my local server, but it keeps being unsuccessful.
All my files are inside /var/www/html/ However I made a folder called uploads in the h
Your Input file is
so change $_FILES['fileToUpload']['name'] to $_FILES['uploadedfile']['name']
$_FILES['fileToUpload']['name']
$_FILES['uploadedfile']['name']
$_FILES['uploadedfile']['name'] Must have the value of Name attribute of your file field
Name