Re: Getting parameters from the URL
| From: | Richard Lynch | Date: | Sat, 21 May 2005 00:49:01 +0000 |
| Subject: | Re: Getting parameters from the URL | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215687@lists.php.net to get a copy of this message | ||
On Fri, May 20, 2005 1:21 pm, Mário Gamito said:
> 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 ?).
That's not it, almost for sure.
The entire Internet www would crumble if that were a common cause of the
problem :-)
> Maybe something's in php.ini ?
Maybe the EGCPS settings have no 'G' in them?
Is PHP itself working???
Put this at the top of your script:
<?php phpinfo();?>
Do you see a huge blue page with all kinds of PHP information?
If not, you don't have PHP working.
> Any ideas ?
>
> Warm Regards,
> Mário Gamito
>
> Richard Davey wrote:
>> Hello Mário,
>>
>> Friday, May 20, 2005, 4:48:07 PM, you wrote:
>>
>> MG>
>> ô
>> rWçC
»]/ƒMhttp://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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Like Music?
http://l-i-e.com/artists.htm