Re: Variable over url
| From: | Sascha Cunz | Date: | Wed, 30 Oct 2002 19:50:08 +0000 |
| Subject: | Re: Variable over url | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122103@lists.php.net to get a copy of this message | ||
Hi,
try
<?php
echo $_GET['tmp'];
?>
or turn off register_globals in your php.ini file.
- Sascha
Am Mittwoch, 30. Oktober 2002 20:49 schrieb Manuel Jenne:
> Hi,
>
> I've just installed php 4.2.3 and wonder why I can't submit an variable
> over url.
>
> Example:
>
> My Script:
> Test.php
>
> <?
> echo $tmp;
> ?>
>
> My URL:
> www.some.domain/test.php?tmp=5
>
> My result:
>
> NOTHING !!!
>
> Where is the error?
>
> P.S. phpmyadmin run ok.
>
>
> Thanx
>
> Manuel