Getting parameters from a URL coming from outside the site

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Following the previous discussion regarding confirmation of
subscriptions (to all the people who replied, my thanks), i now generate
an URL something like this:


http://www.bar.com/confirma_registo_action.php?email=foo@xxxxxxx&code=vu782
This hit will come from someone's mail client.

Then, in file confirma_registo_action.php, i do:

  $email    = $_GET['email'];
  $code     = $_GET['code'];
  print($email);
  print($code);

for testing, but it does print nothing.
So, i'm not getting the parameters from the URL.
I have register_globals=Off in php.ini

Why is this wrong and how to make it right ?

Thanking you in advance.

Warm Regards,

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux