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 <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED] |
> | 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to