[nycphp-talk] PHP Versions and GLOBALS
zaunere at yahoo.com
Fri Jun 21 09:19:21 EDT 2002
--- Jeremy Hise <jhise at linuxforbusiness.org> wrote:
> Hi All:
> I have an app that runs fine on php4.0.4 but acts all funky on
> Places in .4 that use $GLOBALS[varname] suddenly require that I do
This is certainly a register_globals and/or track_vars issue.
Also, never use, for example, $_POST[varname] but rather
Take a look at http://www.php.net/manual/en/language.types.array.php
under the heading "Array do's and don'ts"
> I think I remember something about this but I'm not sure and I can't
> really find anything on the php site.
> Do any of you know what the story is with regards to how GLOBALS work
> between these versions?
> Thank you!
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
More information about the talk