Welcome Guest, Not a member yet? Register   Sign In
Using AJAX on a file
#1

(This post was last modified: 08-02-2022, 05:07 AM by FilembarEliJeevan.)

I am creating a simple API to call methods from my php classes using JQuery and AJAX. I have a question how to enter the path in AJAX to refer to a given file from the Libraries echatspin echat directory
Reply
#2

You can't access a file from the Libraries directory like that. Every requests needs to go through a controller. If you're not familiar with CI, take a look at the tutorial in the user guide.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply




Theme © iAndrew 2016 - Forum software by © MyBB