Re: [PHP] header redirection

2002-04-22 Thread Norman Zhang
Hi, My codes are as follows, login.php ? session_start(); if (!$HTTP_POST_VARS['logname'] !$HTTP_POST_VARS['logpass']) { // User needs to supply login name and password. ? // This is my default header that I want to include on every page. html head titleSupport Center/title

[PHP] header redirection

2002-04-19 Thread Norman Zhang
Hi, I use header(location: ...) for redirection to another page. But I also want to include title, meta and link tags in the other page. Is there a way to this? Because php complains that the header already been sent. Regards, Norman -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] header redirection

2002-04-19 Thread Kevin Stone
, 2002 3:07 PM Subject: [PHP] header redirection Hi, I use header(location: ...) for redirection to another page. But I also want to include title, meta and link tags in the other page. Is there a way to this? Because php complains that the header already been sent. Regards, Norman -- PHP

Re: [PHP] header redirection

2002-04-19 Thread Jason Wong
On Saturday 20 April 2002 05:07, Norman Zhang wrote: Hi, I use header(location: ...) for redirection to another page. But I also want to include title, meta and link tags in the other page. Is there a way to this? Because php complains that the header already been sent. Show us your code.

[PHP] header redirection

2001-09-14 Thread Poppy Brodsky
does not execute until the remainder of the script has executed... How can I redirect the user: header(Location: http://www.foo.bar\n\n;); and continue to execute a set of commands after the redirection? Just having the redirection code before the other code does not work. Linux running

Re: [PHP] header redirection

2001-09-14 Thread Steve Edberg
It's my understanding that PHP's normal behavior IS to send the header when it is encountered in your program, and then continue running the program (unless you have an exit statement after the header). Perhaps you have output buffering turned on? If that's not the case, please most more

Re: [PHP] header redirection

2001-03-21 Thread Jason Stechschulte
On Tue, Mar 20, 2001 at 10:05:06PM -0800, [EMAIL PROTECTED] wrote: Why wouldn't this redirect? The query works, but the page won't redirect. I have used the same two lines successfully on other pages. I'm very tired, it's probably obvious. ?php // assuming $uid, $itemid, $week, $cur_wk

Re: [PHP] header redirection

2001-03-21 Thread Yasuo Ohgaki
"Jason Stechschulte" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, Mar 20, 2001 at 10:05:06PM -0800, [EMAIL PROTECTED] wrote: SNIP $redirurl = "bid.php?uid=" . $uid . "itemid=" . $itemid; header ($redirurl); ? It appears your code is missing

RE: [PHP] header redirection

2001-03-20 Thread Jason Murray
Why wouldn't this redirect? Because you need to do this: ? header ("Location: $redirurl"); ? Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: