Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

how to use time() to count how many seconds you were here

$
0
0

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.


Viewing all articles
Browse latest Browse all 13200

Trending Articles