Re: Safe way to get all variables
| From: | Lars Torben Wilson | Date: | Tue, 26 Sep 2000 00:40:15 +0000 |
| Subject: | Re: Safe way to get all variables | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17457@lists.php.net to get a copy of this message | ||
Jonatan Bagge writes:
> just start your scripts with
> <?php_track_vars
>
> instead of
> <? or <?php
>
> Or am I wrong?
>
> Joao Prado Maia wrote:
Close: it must be <?php_track_vars?>. i.e.:
<?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.
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+