Posted by Ridge Burner on 02/17/06 17:14
Does PHP handle included files differently for CLI and HTTP?
I have a cron that triggers a script daily, this script has an include like
so:
include '../includes/myScript.php';
When this script is run from Browser, it works fine, and the file is
included.
When the corn triggers it, the include is not executed.
I have changed the include to the full path instead of relative one, but
will not know if this fixes it until tomorrow.
Thanks for any input you can offer....
-Ridge
[Back to original message]
|