Good day,
I use filedrop to upload images in my application. Recently I moved to PHP 7.1 on my development location and I found out that HTTP_X_FILE_NAME has been removed.
Searching the web I found out that this key has been removed as "unnecessary"
However I do not know what to substitute it with?
I used to fetch the uploaded file with the following code :
$name = urldecode($_SERVER['HTTP_X_FILE_NAME']);
$data = file_get_contents("php://input");