Re: [PHP] header question

2002-09-11 Thread Chris Shiflett
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

Re: [PHP] header question

2002-09-11 Thread Krzysztof Dziekiewicz
> 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=${

Re: [PHP] header question

2002-09-11 Thread Chris Wesley
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}" );

[PHP] header question

2002-09-11 Thread Meltem Demirkus
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

[PHP] header()-question

2002-09-02 Thread Øystein Håland
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

[PHP] Header question

2002-04-28 Thread Dean Ouellette
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:

Re: [PHP] header() question

2002-04-01 Thread Erik Price
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

Re: [PHP] header() question

2002-04-01 Thread martinahingis
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

Re: [PHP] header() question

2002-04-01 Thread Erik Price
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

Re: [PHP] header() question

2002-04-01 Thread Patrick Hartnett
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

Re: [PHP] header() question

2002-04-01 Thread George Nicolae
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.

[PHP] header() question

2002-04-01 Thread Patrick Hartnett
Is it possible to user the target="_top" reference when using a header("Location = ...")? If so, anyone have an example. Thanks -patrick _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com --