Welcome Guest, Not a member yet? Register   Sign In
New to CI - Having global variables available to every controller?
#6

[eluser]theprodigy[/eluser]
Quote:So __construct() works if using PHP5, despite CI being ‘built for’ PHP4?
CI wasn't built for PHP4. CI was built for PHP5 and backwards compatible for PHP4. You can use PHP5 in your code or you can use PHP4 in your code. Either way, as long as your server supports it, it will work. Now, that being said, because CI was built to support PHP4, it lacks some of the object handling that is in PHP5, only because there was no way to make it compatible with PHP4 if they used it. Other than that, it's pretty much your choice (as well as your hosting providers choice).


Messages In This Thread
New to CI - Having global variables available to every controller? - by El Forum - 10-06-2010, 07:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB