• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
calling get_instance() from external script

#1
[eluser]Yednotek[/eluser]
Is it possible to get a CI instance in an external script somehow like this:

Code:
function somefunction_in_standalone_script()
{
  $obj=&get;_instance();
}

The external script is an 3rd party script that generates an image but it uses sessions which I already use in CI. If the above is possible then this would be the easiest solution.


Messages In This Thread
calling get_instance() from external script - by El Forum - 10-12-2008, 04:41 AM
calling get_instance() from external script - by El Forum - 10-12-2008, 05:06 AM
calling get_instance() from external script - by El Forum - 10-12-2008, 05:45 AM
calling get_instance() from external script - by El Forum - 10-12-2008, 07:29 AM
calling get_instance() from external script - by El Forum - 10-12-2008, 07:34 AM
calling get_instance() from external script - by El Forum - 10-12-2008, 07:42 AM
calling get_instance() from external script - by El Forum - 10-12-2008, 07:45 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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