Posted by BG Mahesh on 07/24/06 15:23
hi
I am using PHP 5.0.4 on OpenSuse 10.x. I have the following piece of
code,
$sp1 = $_SERVER["SCRIPT_FILENAME"];
$sp1 is set correctly when I execute file.php thru the browser. But
when I run that script thru cron [as root] $sp1 is always null.
But on Redhat we see that $sp1 has value [when file.php is executed
thru cron].
We don't see any error messages on OpenSuse. What could we be doing
wrong? Any pointers are appreciated
B.G. Mahesh
Navigation:
[Reply to this message]
|