Re: Re: Cronjob

From: Date: Wed, 25 Sep 2002 18:51:50 +0000
Subject: Re: Re: Cronjob
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-117619@lists.php.net to get a copy of this message
Nope, $GLOBALS remains as always... http://www.php.net/manual/en/language.variables.predefined.php#language.variables.superglobals Cheers, Rob. Jason Young wrote: > > 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. > >> > >> > >> > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- .-----------------. | Robert Cummings | :-----------------`----------------------------. | Webdeployer - Chief PHP and Java Programmer | :----------------------------------------------: | Mail : mailto:robert.cummings@webmotion.com | | Phone : (613) 731-4046 x.109 | :----------------------------------------------: | Website : http://www.webmotion.com | | Fax : (613) 260-9545 | `----------------------------------------------'

« previous php.general (#117619) next »