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:
>>
>>
>>>I want to know if there is any way to send d
> 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 > href=\"login.php?id=$ID\"> but I need to use header and I dont know howto
>> do this?...
> header( "Location: login.php?id=${
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 thishref=\"login.php?id=$ID\"> but I need to use header and I dont know howto
> do this?...
header( "Location: login.php?id=${ID}" );
On Monday, April 1, 2002, at 03:47 PM, martinahingis wrote:
> I think the question is not the top of the page, the top frame of the
> window. Isn't it?
Oh yeah, you're right. I was thinking along the lines of what that
other guy suggested -- that all pages revert to _top by default (which
n
I think the question is not the top of the page, the top frame of the
window. Isn't it?
If so you should use Javascript instead of PHP.
top.window.location.href=http://yoursite.com/yourpage.php;
---
martina.
"Erik Price" <[EMAIL PROTECTE
On Monday, April 1, 2002, at 01:49 PM, Patrick Hartnett wrote:
> So any use of header("Location=...") automatically does what amounts to
> a target="_top"? If so, then ignore this entire post, cuz that answers
> the question. If not, does anyone know how to force a target="_top"
> when usi
gt;From: "George Nicolae" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [PHP] header() question
>Date: Mon, 1 Apr 2002 21:11:00 +0300
>
>The _top option send you to the top of a page. When you open a new location
>you go on top by default.Maybe you ask abo
The _top option send you to the top of a page. When you open a new location
you go on top by default.Maybe you ask about _blank? I don't have the answer
for this last question.
--
Best regards,
George Nicolae
IT Manager
___
PaginiWeb.com - Professional Web Design
www.PaginiWeb.
8 matches
Mail list logo