• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calling method in Codeigniter Controller from outside Codeigniter.

#1
[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

#2
[eluser]TheFuzzy0ne[/eluser]
http://codeigniter.com/wiki/CI_on_the_command_line/
http://larrykagan.com/blog/view/CodeIgni...mmand-Line
http://booleandreams.wordpress.com/2008/...m-croncli/

#3
[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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.