On Friday, August 29, 2003, at 07:44 PM, Curt Zirzow wrote:
Does the next page call session_start()? all pages that use
$_SESSION, must call that first.
Ohhh... ok. Thanks :)
Seth Willits
---
President and Head Develope
* Thus wrote Seth Willits ([EMAIL PROTECTED]):
> I'm logging in via a form, and on the form page it creates the session:
>
>session_start();
> if ($_POST['username'] == $username && $_POST['password'] ==
> $password ) {
> $_SESSION['loggedIn'] = true;
> }
I'm logging in via a form, and on the form page it creates the session:
session_start();
if ($_POST['username'] == $username && $_POST['password'] == $password
) {
$_SESSION['loggedIn'] = true;
} else
$_SESSION['loggedIn'] = false;
?>
And later in the same page, I include another file w
3 matches
Mail list logo