Hi all!
Sorry for my bad english, I'm begin crazy!
I'm trying to add bootstrap-fileinput in my pages, I want upload files and show it when user reload the page, than I want that my user can DELETE files.
To do that I need to send some infos to the ajax.php file, just 2 or 3 variables, than I do it in upload and it GOES really well, but now in delete it doesn't goes, I don't receive ANY data by $_POST or $_GET
Hi all! Sorry for my bad english, I'm begin crazy! I'm trying to add bootstrap-fileinput in my pages, I want upload files and show it when user reload the page, than I want that my user can DELETE files.
To do that I need to send some infos to the ajax.php file, just 2 or 3 variables, than I do it in upload and it GOES really well, but now in delete it doesn't goes, I don't receive ANY data by $_POST or $_GET
Can you help me?
That's my test files:
I tried with deleteExtraData too but nothing: (when I tried with it I removed the extra: from initialPreviewConfig)
deleteExtraData: { pk : 1234, mod: 'module', sec: 'logo', act: 'd' }
I tried to see what the ajax.php file receive, printing $_POST, $_GET and $_FILES, but are all empty
_POST: Array ( )
_GET: Array ( )
_FILES: Array ( )