Re: Re: Cronjob

From: Date: Wed, 25 Sep 2002 18:41:16 +0000
Subject: Re: Re: Cronjob
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-117614@lists.php.net to get a copy of this message
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 (#117614) next »