blueimp/jQuery-File-Upload — Issue #914: error using single file upload with (php/index.php)
Author: mape2k
Created: 2012-01-02 15:06:17+00:00
State: open

Hi,

if you use php with single file upload-field UploadHandler did not seems to work - handle_file_upload gets wrong parameters.

isset($_SERVER['HTTP_X_FILE_NAME']) ?
$_SERVER['HTTP_X_FILE_NAME'] : (isset($upload['name']) ?
isset($upload['name']) : null),

should be

isset($_SERVER['HTTP_X_FILE_NAME']) ?
$_SERVER['HTTP_X_FILE_NAME'] : (isset($upload['name']) ?
$upload['name'] : null),

and so on...