To help clear things up for a few:
> The globals that PHP sets up have changed since since PHP 4.2.x
> See: http://www.php.net/release_4_2_0.php
Note, this is only the default value for the fully
configurable PHP directive register_globals. Please
read:
http://www.php.net/manual/en/securit
Hi Johan,
The globals that PHP sets up have changed since since PHP 4.2.x
See: http://www.php.net/release_4_2_0.php
You can turn on register_globals in the php.ini file but it is
recommended to use the more secure $_GET['test'] type variables.
Best Regards,
Patrick Lynch.
Optip Ltd, Internet &
The php directive track_vars is deprecated and is always
on. You appear to be referring to the register_globals
directive though, which is a hot topic these days in the
world of PHP.
If register_globals = on, then $text will exist in your
example (register_globals will create it). Otherwis
Maybe you should read about what you're installing before you install it.
Register_globals is off in PHP 4.1+ by default, so your variables aren't
created. You can use $_GET["text"] to get the variable, though. Or you can
turn on register_globals in your php.ini and face the security consequences
4 matches
Mail list logo