Why would $_FILES be empty when uploading files to PHP?
Here’s a check-list for file uploading in PHP: Check php.ini for: file_uploads = On post_max_size = 100M upload_max_filesize = 100M You might need to use .htaccess or .user.ini if you are on shared hosting and don’t have access to php.ini. Make sure you’re editing the correct ini file – use the phpinfo() function to verify … Read more