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}" );
Hi ,
I want to know if there is any way to send data in
header("Location:login.php") .I know how to send like this but I need to use header and I dont know howto
do this?...
thanks alot
meltem demirkus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
I use this code with the intension to REDIRECT to the file login.php
if (!isset($login)) {
header("Location: /ha/login/log.php?goal=log&goback=$PHP_SELF");
} else {
some code here
}
When I load the page the following happens: The source show the filename
with this script and not the log.php, but
I have a tell a friend script and got the php script from a friend to
make it work. I am a newbie so still do not fully udners stand it.
Here is the problem, it puts the following at the top of each e-mail:
X-Mailer: PHP/4.1.2
Here is the script:
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.
Is it possible to user the target="_top" reference when using a
header("Location = ...")?
If so, anyone have an example.
Thanks
-patrick
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
12 matches
Mail list logo