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