huge junk mail wrote:
Can someone tell me why I can't have
$_SESSION['foo'] = 'content of foo';
following by
header('Location: http://www.mysite.com');
Someone from www.php.net told me that it can confuse
browser (http://bugs.php.net/19991). But, still I
can't the idea why it can happen. Does
I believe the php code gets executed before html code is processed.
-Original Message-
From: dwalker <[EMAIL PROTECTED]>
To: huge junk mail <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Wednesday, November 06, 2002 10:44 AM
Subject: Re: [PHP] session
;
what ever the welcome page looks like
-Original Message-
From: huge junk mail <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, November 06, 2002 9:03 AM
Subject: Re: [PHP] session vs. header
>
>I think I have to re-explain the pr
I think I have to re-explain the problem completely. I want to use this script in a
login form. Once, someone is authenticated, then I register variables for indentifying
him/her through session. After I register those variables I want to redirect him/her
to a page, which required authenticated
huge junk mail wrote:
> Can someone tell me why I can't have
>
> $_SESSION['foo'] = 'content of foo';
>
> following by
>
> header('Location: http://www.mysite.com');
>
> Someone from www.php.net told me that it can confuse
> browser (http://bugs.php.net/19991). But, still I
> can't the idea why
> Can someone tell me why I can't have
>
> $_SESSION['foo'] = 'content of foo';
>
> following by
>
> header('Location: http://www.mysite.com');
>
> Someone from www.php.net told me that it can confuse
> browser (http://bugs.php.net/19991). But, still I
> can't the idea why it can happen. Does regis
6 matches
Mail list logo