Welcome Guest, Not a member yet? Register   Sign In
Load CI Library in external File
#1

Hello @ll,

how can a load the CI Library in a external PHP file?
I have a Flashgame SWF and a PHP File "test.php".
The SWF File load the test.php
I broke all CI funktion in the test.php... DB, Modal, Session etc.
Have any a Idea?

Thanks
Reply
#2

Hey Maeggi07,

First of all... CI isn't an library but a framework.
Second, I don't think it's possible to 'load' CI in a legacy php file, and I can't think of a reason why you should want such a solution.

Why don't you create a controller Test and move the code from your test.php file to your new controller. No external php files are needed!

Hope this helps!

-Roger
Reply




Theme © iAndrew 2016 - Forum software by © MyBB