Hi, I'm creating a script and let's say I have a user/pass to enter and once it's entered another page will be redirected and in that page will show a line sayingi you have been staying here for xxx seconds.
I'm using $_SESSION at the moment but I'm not sure how to set up so time() will start counting after logged in.