Exodus3146
11-11-2002, 03:00 AM
Hey, I'm new here, and... sorta new at PHP I guess you could say.. only been working at it since August...
Right now I've been trying to work with sessions.. try to create a login script, and... near the login show how many Members are logged in, and how many Guests are present....
been reading around.. and testing out some code, but... nothings working and kinda going in a circle I guess.... can anyone give me a few pointers in this area?
<?PHP
session_start();
#cookie Name
$check = "Name";
$check .="filename";
$guest="";
If ($Name=$guest) {
$membercount = 0;
session_register("number");
$membercount = $number + $membercount;
}
?>
not finished.. nor really going anywhere.. just figured it'd be pretty rude to ask for help and having no proof of having not tried already...
so if anyone could offer help, id also appreciate some notation... not really on the easy stuff, but on the more difficult stuff, cus like i said, i'm still learning..
thanx
Right now I've been trying to work with sessions.. try to create a login script, and... near the login show how many Members are logged in, and how many Guests are present....
been reading around.. and testing out some code, but... nothings working and kinda going in a circle I guess.... can anyone give me a few pointers in this area?
<?PHP
session_start();
#cookie Name
$check = "Name";
$check .="filename";
$guest="";
If ($Name=$guest) {
$membercount = 0;
session_register("number");
$membercount = $number + $membercount;
}
?>
not finished.. nor really going anywhere.. just figured it'd be pretty rude to ask for help and having no proof of having not tried already...
so if anyone could offer help, id also appreciate some notation... not really on the easy stuff, but on the more difficult stuff, cus like i said, i'm still learning..
thanx