Not to beat a dead horse, but I have a problem associated with
differences between 4.3 and 4.0.6. My local server (Mac OSX) is running
4.3 and has globals off. I designed the code to run with $_SESSION for
my log in pages, and they work fine. Then I had to move the files to a
client's server an
tal" <[EMAIL PROTECTED]>
To: "PHP-DB" <[EMAIL PROTECTED]>
Sent: Monday, 16 June, 2003 13:49
Subject: Re: [PHP-DB] setting session variables via a form
> Are you certain that you have issued the session_start() call at the
> beginning of the page?
100%. I went so far as
essage -
From: ".ma" <[EMAIL PROTECTED]>
To: "PHP-DB" <[EMAIL PROTECTED]>
Sent: Monday, 16 June, 2003 11:57
Subject: Re: [PHP-DB] setting session variables via a form
hi
maybe try the invers (anyways you havn't defined an action-attribute -
maybe this
m
- Original Message -
From: ".ma" <[EMAIL PROTECTED]>
To: "PHP-DB" <[EMAIL PROTECTED]>
Sent: Monday, 16 June, 2003 11:57
Subject: Re: [PHP-DB] setting session variables via a form
hi
maybe try the invers (anyways you havn't defined an action-attribut
e -
From: "Hutchins, Richard" <[EMAIL PROTECTED]>
To: "PHP-DB" <[EMAIL PROTECTED]>
Sent: Monday, 16 June, 2003 12:07
Subject: RE: [PHP-DB] setting session variables via a form
Edward,
Are you certain that you have issued the session_start() call at the
beginning
> -Original Message-
> From: Hutchins, Richard [mailto:[EMAIL PROTECTED]
> Sent: 16 June 2003 17:08
>
> session_start();
> session_register("isRegistering");
>
> $_SESSION["isRegistering"] = "true";
B't! If you're using the $_SESSION array, then you MUST NOT use
s
e impact on your
syntax.
See http://us3.php.net/manual/en/ref.session.php
Hope that helped.
Rich
> -Original Message-
> From: .ma [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 16, 2003 11:57 AM
> To: PHP-DB
> Subject: Re: [PHP-DB] setting session variables via a form
&
hi
maybe try the invers (anyways you havn't defined an action-attribute -
maybe this is a problem?):
if(!isset($_SESSION['item_details']) || (
isset($_SESSION['item_details'] && $_SESSION['item_details']) {
echo ''.
''.
''.
'';
else
$_SESSION['item_details'] = 'yes';
hope i underst