I'm trying to call a php file through ajax. No problem so far. But my file is in a folder called application/logic. the problem is that my domain is redirected to public/ where my index.php file is. Now my js files are also in that root public/js. Now how can I reach the php files under application/logic through javascript?

```
function add_DropDown(formid){

    var arr = demountform(formid);
    var myjsonarr = JSON.stringify(arr);
    $.ajax({ 
        url:'../application/logic/admin-functions.php',
        type: 'post',
        success: function(output) {
            alert(output);
        }
    });
}

```