Re: Global Variables Off
| From: | Martín Marqués | Date: | Tue, 05 Nov 2002 18:55:05 +0000 |
| Subject: | Re: Global Variables Off | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122839@lists.php.net to get a copy of this message | ||
On Lun 04 Nov 2002 00:10, Paul wrote:
> Ok, I have turned global vars off and I have replaced my old
> $HTTP_GET_VARS with $_GET[] but I seem to not get the values passed. I
> run the phpinfo and I see the variables being stored as
> _GET["variable_name"]
>
> Is calling $_GET["variable_name"] correct? If so, why would I not get
> the value?
>
> I use it in the following statement (checking if error_message is empty)
>
> if ($_GET["error_message"])
Did you check on what $_GET contains?
var_dump($_GET);
Saludos... :-)
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------