Galea I'm using the Jquery auto-complete plugin. It works perfectly. I use jquery to call a php file that does the query in the Data Bundle.
I call it like this:
$("#auto").autocomplete("Busca/Cadastros.php", {
width: 500,
multiple: false,
matchContains: true,
formatItem: formatItem,
formatResult: formatResult
});
The problem is that if I type the path of the file ('path / Search / Cadastros.php') in the browser it opens the query in the DB. How do I block this file? ie not be able to open it by the browser and that only my jquery open it.
Does anyone know how to do this?