Re: Re: Cronjob

From: Date: Wed, 25 Sep 2002 18:53:19 +0000
Subject: Re: Re: Cronjob
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117620@lists.php.net to get a copy of this message
In any case, register_globals is ON for my server. I don't understand why this isn't working? I'm doing exactly what the manual says. What could I be missing? --- Robert Cummings <robert.cummings@webmotion.com> wrote: > 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 | > `----------------------------------------------' > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com

« previous php.general (#117620) next »