Re: Re: Cronjob

From: Date: Wed, 25 Sep 2002 18:42:00 +0000
Subject: Re: Re: Cronjob
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-117615@lists.php.net to get a copy of this message
Jeez.. pardon me.. $_GLOBALS .. I don't know where I got SERVER from.. *sleeps before posting from now on* -J Jason Young wrote:
Correction.. isn't it $_SERVER and not $SERVER Jason Young wrote:
Daren, This post from Robert explains why you're having trouble :) I forgot the PHP version on my machine doesn't have the register_globals problem. THAT should work. -Jason
I'm think you're all forgetting about register_globals being off by default these days... The following may help: $argc = $GLOBALS['HTTP_SERVER_VARS']['argc']; $argv = $GLOBALS['HTTP_SERVER_VARS']['argv']; HTH, Rob.


« previous php.general (#117615) next »