Re: using header ('Location:) to pass varaiables

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

 



Ross wrote:
Is it possible to send variables using header() ?

I have tried variations on the theme

header ('Location: email_confirm.php?email=$email);

but nothing seems to work.

I don't know what you tried, but the above results in parse error. Try:

header ("Location: email_confirm.php?email=$email");

email_confirm.php:

echo $_GET['email'];

--
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