Page 1 of 1
Re: could someone please explain me this code
Posted: Wed Dec 29, 2010 6:00 pm
by social_experiment
It looks like a registration script. P.s If you want a more verbose explanation, a better line of questioning would be appropriate.
EditHow weird is this, your script is gone. Paste it again.
Re: could someone please explain me this code
Posted: Wed Dec 29, 2010 7:41 pm
by anantha
I am not sure whether the code make sense....but i will explain what i can understand from it...
If the user is logged in and if there is a request to log out...then they are destroying the session...which logs out the user..and redirect to the index.php page..
else
if logged in and has username and authentication is equal to 1....redirect to start.php page
else
if logged in and has username and authentication is equal to null ...then destroy the session...which logs out the user
Re: could someone please explain me this code
Posted: Thu Dec 30, 2010 10:48 am
by chandana27
thank you anantha