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

From: Date: Tue, 10 May 2005 11:27:51 +0000
Subject: Re: using header ('Location:) to pass varaiables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-214825@lists.php.net to get a copy of this message
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'];

« previous php.general (#214825) next »