Re: Getting parameters from the URL
| From: | Mário Gamito | Date: | Fri, 20 May 2005 20:21:13 +0000 |
| Subject: | Re: Getting parameters from the URL | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215672@lists.php.net to get a copy of this message | ||
Hi Richard,
It still doesn't works.
Maybe it's because it's being launched from outside the site (i. e., the
referrer is not from the site ?).
Maybe something's in php.ini ?
Any ideas ?
Warm Regards,
Mário Gamito
Richard Davey wrote:
> Hello Mário,
>
> Friday, May 20, 2005, 4:48:07 PM, you wrote:
>
> MG>
> MG> http://www.bar.com/confirma_registo_action.php?email=foo@bar.com&code=vu782
>
> MG> for testing, but it does print nothing. So, i'm not getting the
> MG> parameters from the URL. I have register_globals=Off in php.ini
>
> MG> Why is this wrong and how to make it right ?
>
> Try dumping out the whole of $_GET to see if you are receiving
> anything at all:
>
> <?php
> print_r($_GET);
> ?>
>
> Best regards,
>
> Richard Davey