first time posting and its because it have no more ideas why this is, i have the following code
HTML
<div> <p> <font face='Verdana, Tahoma, Arial' size='3'> <b> Subir Archivo </b></font> </p>
<!--Formulario para elejir el archivo a subir -->
<form action='' method='post' name='form_ftp' id='form_ftp' enctype='multipart/form-data'>
<font size='2' face='Verdana, Tahoma, Arial'> Elegir archivo :<br>
<div> <input name='archivo' onchange='myApp.fileCheck(this)' class='btn btn-info btn-xs' id='files' type='file' style='padding:2px; font-size:12px; width: 275px' /> </div><br><br>
<input type='hidden' name='opt' value='$id'>
<input name='submit' type='hidden' value='1'>
<input type='hidden' id='path' name='path'>
<input id='subir' onclick='myApp.uploadIt()' type='button' class='btn btn-info btn-xs' value='Subir Archivo' style='display:none;padding:2px; font-size:12px; width: 90px;' /> </font> </form> </div>
JS
uploadIt:function(){
$('#cargando').show();
$('#path').val(myApp.rPath);
var formData = new FormData($('#form_ftp')[0]);
$.ajax( {
url: './controllers/ftp/ftpController.php',
type: 'POST',
data: formData,
processData: false,
contentType: false
}).done(function(){
// $("#files").val('');
// myApp.getData();
});
},
Ok this is good its working pics of that now Params File Passing at last
Now checking the php Code its empty nothing it's passed
PHP codes i used to check its a var dump
var_dump($_POST,$_GET,$_FILES,$_REQUEST);
to see the var dumps params
varDump
the response its giving me its the else, that's mean there is nothing that to do, no post or get of any kind but the params are passed. why this is happening