Ajax forbidden 403 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Ajax forbidden 403 (/showthread.php?tid=70932) |
Ajax forbidden 403 - pippuccio76 - 06-18-2018 Hi at all , sorry for english , i have a problem with ajax in this site http://preventivoamianto.altervista.org/index.php/aziende/registrazione i use ajax in several project but i cannot know why in this i haven't response : i insert in config this: $config['csrf_exclude_uris'] = array('aziende/registrazione'); But i have not response. This is the controller: PHP Code: function get_province(){ And this the model : PHP Code: function get_province(){ RE: Ajax forbidden 403 - alamowais - 06-21-2018 you can use vardump to show the path you have to define and use an alert to check the response of your function. you can cross check by using Flag response in the console of Browser though which you can get the response at runtime. |