I ahve a login and logout script.
I would like it so that when someone logs in it defines a variable $on
and when they sign out it goes to $off
how can i do this?
display On/Off
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
nothing really
i dont really know where to start
OK lemme give you some info
I have
in.php for loggin in
and out.php for logging out
and i know that i need to put something in the in.php so that when a user is verified as logging in it switches the status to on
and then i know i need something in out.php to switch the status back.
i just dont really know what.
i was trying to think it out with my limited php knowledge but my brain is fried
i dont really know where to start
OK lemme give you some info
I have
in.php for loggin in
and out.php for logging out
and i know that i need to put something in the in.php so that when a user is verified as logging in it switches the status to on
and then i know i need something in out.php to switch the status back.
i just dont really know what.
i was trying to think it out with my limited php knowledge but my brain is fried