Including CodeIgniter files into external app

Hi folks, I've tried searching and haven't had much luck. I'm trying to include files generated by CodeIgniter into other applications either by SSI includes or PHP includes. Is this possible? If so, what should the target be?


Not too sure I fully understand the question. Do you want to include content generated from your CI views? If so, this isn't going to work in most cases. You can, of course use fopen to read remote files:
$file = fopen ("http://yoursite/controller/method/params/", "r");

You could also use 'file_get_contents' or CURL

Yes, I'm trying to include the content generated from CI which did not work via SSI, or php's include();. But thank you for the response, CURL was able to pull it off :-)

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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