Welcome Guest, Not a member yet? Register   Sign In
CI from Command-Line - script outputs to webbrowser but not on command-line
#9

[eluser]Nick Jennings[/eluser]
error_reporting is set to E_ALL ... like I said though, the function works fine. it's just that there is no output when run from the command line (the function executes though, i see the DB queries going to the database).

For example: I made a function called "test" in the test controller.

controllers/test.php
Code:
function test() {
    echo "TEST\n";
}

when run from a browser, 'TEST' is displayed.
when run from the command-line:
Code:
# php index.php test test
#

nothing...


Messages In This Thread
CI from Command-Line - script outputs to webbrowser but not on command-line - by El Forum - 08-28-2009, 06:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB