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.


Krzysztof Dziekiewicz wrote:

>>On Wed, 11 Sep 2002, Meltem Demirkus wrote:
>>>I want to know if there is any way to send data in
>>>header("Location:login.php") .I know how to send like this       <a
>>>href=\"login.php?id=$ID\">  but I need to use header and I dont know howto
>>>do this?...
>>header( "Location: login.php?id=${ID}" );
>What for {} ?
>Rather: header( "Location: login.php?id=$ID" );

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to