I have the following code to upload the file but I cannot get the file at the php someone knows explain why ?
EXT JS
items:
[{
xtype: 'textfield',
fieldLabel: "Anexo",
id: 'anexohelp',
name: 'anexohelp',
inputType:'file',
}]
PHP
$file = $_FILES['anexohelp'];
$filename = $file['name'];
Thanks.
you can get file using this
$_FILES["file_name_here"]and you will get here all documentation hereand example