Hi,
I couldn't find any answer to this question on the documentation nor the forum :
how can I call a php script that is located in the templates folder via ajax (jquery) ?
To be more precise, I have a js file which contains some jquery functions that get data from a php script. The path to the php script is hard coded in the js file, but then I cannot execute it (rights on the template folder). I could move the script to another folder (like plugins) but it's not safe since it can be run by anyone.
I'm a bit lost, thank you for your help
Aïda
Bookmarks