Re: header question
| From: | Chris Shiflett | Date: | Wed, 11 Sep 2002 23:33:33 +0000 |
| Subject: | Re: header question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116058@lists.php.net to get a copy of this message | ||
You should always use a full URL in a Location header. Though browsers may handle improper uses of this header, it is still a bad practice.
Happy hacking.
Chris
Krzysztof Dziekiewicz wrote:
On Wed, 11 Sep 2002, Meltem Demirkus wrote:What for {} ? Rather: header( "Location: login.php?id=$ID" );I want to know if there is any way to send data inheader( "Location: login.php?id=${ID}" );header("Location:login.php") .I know how to send like this <ahref=\"login.php?id=$ID\"> but I need to use header and I dont know howto do this?...