What is the best way to execute a codenighter controller/method from an external script?
Trying to integrate my existng CI app with a non-CI app and need to get output of CI and show it inside the other app.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would take a look at either the xmlrpc library or rest (baseed on https://github.com/philsturgeon/codeigniter-restserver).
Another option is you could set up a controller/view method that outputs the info you need in a format that you can work with and use curl to get that page.