Re: Safe way to get all variables
| From: | Lars Torben Wilson | Date: | Tue, 26 Sep 2000 01:11:44 +0000 |
| Subject: | Re: Safe way to get all variables | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17465@lists.php.net to get a copy of this message | ||
Joao Prado Maia writes:
>
> On Mon, 25 Sep 2000, Lars Torben Wilson wrote:
>
> > <?php_track_vars?>
> > <?php
> > /* Code goes here */
> > ?>
> >
> > ...and it was declared officially dead in PHP 4.0.1. After PHP 4.0.3,
> > my understanding is that $HTTP_*_VARS will always be available.
> >
>
> Wait a minute, "always available" or turned on by default on php.ini in
> the distribution ? That was the information I got a while back.
>
> Joao
From Changelog:
2000-09-05 Zeev Suraski <zeev@zend.com>
* ext/session/session.c
main/main.c
main/network.c
main/php_globals.h
main/php_network.h
main/php_variables.c
main/rfc1867.c
win32/php4dllts.dsp
php.ini-dist
php.ini-optimized: - Remove track_vars - it is now always on
- Make the various $HTTP_*_VARS[] arrays be defined always,
even if they're empty
- Fix Win32 build and warnings
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+