I am trying to access an element in php for document.getElementById( the element is file.name and the id is 'filelist' but the php does not accept the code for the line shown below, can someone advise on the correct syntax as everything I have tried returns null
$data = "document.getElementById("filelist").innerHTML += '<br/>' + file.name";
Diego De Vita, that guy that you commented, was 'very very far from anything meaningful' in a galaxy far, far away, happened to fix the issue, never underestimate the crazies of this world, here is the fix.
In plupload there is a main upload script called upload.php and this is the code that renames the uploaded file to a meaningless code i. e. file_6272e003ad256 and this is the code in upload.php that renames that file id name
So, search this file for the word filename
Then extract the phrase between the double quotes and this is the filename to rename the file with