CodeIgniter Forums
Sending data from external CI to controller CI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Sending data from external CI to controller CI (/showthread.php?tid=66573)



Sending data from external CI to controller CI - roipatrick.florentino - 11-06-2016

I have created an API which is created using Native Php. Now I want this API to also pass the data to a specific CI controller. Is this possible, maybe I think I just dont know where to start.

Let;s say this is my command:

Code:
loadme('123456789');

Where loadme is a function inside a CI controller. The code above is called using native php.

How do I do that?


RE: Sending data from external CI to controller CI - InsiteFX - 11-07-2016

Set a cookie and then have the CI Controller read it.