Calling method in Codeigniter Controller from outside Codeigniter. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Calling method in Codeigniter Controller from outside Codeigniter. (/showthread.php?tid=20383) |
Calling method in Codeigniter Controller from outside Codeigniter. - El Forum - 07-08-2009 [eluser]Unknown[/eluser] Hi All, i need to access the CodeIgniter Controller from a file which is outside CodeIgniter. can you please guide me on that. FYI, my method in said controller is also loading models and views and working fine inside CodeIgniter, i just need to do the same thing from outside CodeIgniter. Thanks in Advance. Regards, Abhinav Calling method in Codeigniter Controller from outside Codeigniter. - El Forum - 07-08-2009 [eluser]TheFuzzy0ne[/eluser] http://codeigniter.com/wiki/CI_on_the_command_line/ http://larrykagan.com/blog/view/CodeIgniter-from-the-Command-Line http://booleandreams.wordpress.com/2008/03/25/running-codeigniter-from-croncli/ Calling method in Codeigniter Controller from outside Codeigniter. - El Forum - 07-08-2009 [eluser]Phil Sturgeon[/eluser] Um, would using cURL on the URL work for you? cURL at a basic level is a handy way to grab HTML content from a URL but can do plenty more. You could probably even just use fopen() if your server will allow it. |