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
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 'form name=myForm method=post
action='.basename($_SERVER['PHP_SELF']).''.
/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
-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
Digital
www.becomingdigital.com
- 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-attribute -
maybe
- 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-attribute -
maybe this is a problem?):
if(!isset($_SESSION
]
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 to move session_start() before every other element on
the page, even removing it from