Welcome Guest, Not a member yet? Register   Sign In
Call Function from a PHP-Script outside http-Root
#4

[eluser]jblack199[/eluser]
ahh.. well yeah you should be able to call a function of CI in your other script, i had it the other way around -- I thought you wanted to use a function in your cronjob.php in CI... but still you should be able to theoretically, being that the file is in above_server_root, a simple include might work since generally the include runs off the document_root path... but you might have to use the full server path for it as well.


Messages In This Thread
Call Function from a PHP-Script outside http-Root - by El Forum - 08-17-2011, 02:04 AM
Call Function from a PHP-Script outside http-Root - by El Forum - 08-17-2011, 03:12 AM
Call Function from a PHP-Script outside http-Root - by El Forum - 08-17-2011, 03:24 AM
Call Function from a PHP-Script outside http-Root - by El Forum - 08-17-2011, 03:27 AM
Call Function from a PHP-Script outside http-Root - by El Forum - 08-17-2011, 03:36 AM
Call Function from a PHP-Script outside http-Root - by El Forum - 08-17-2011, 04:19 AM
Call Function from a PHP-Script outside http-Root - by El Forum - 08-17-2011, 04:56 AM
Call Function from a PHP-Script outside http-Root - by El Forum - 08-17-2011, 12:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB