[eluser]Shadi[/eluser]
what about using CodeIngiter resources from another script?
I could do that by including the index.php from a remote file but i've to set the $_SERVER['query_string'] to the controller which i want to load..
example
Code:
$_SERVER['QUERY_STRING'] = '/news/details/1';
include('index.php');
$CI = & get_instance(); // << now i've the CI object.
print_r($CI);
but maybe there is a better way to do it?
thanks for replies,