View Single Post
Old 11-04-2009, 11:33 AM   #2 (permalink)
captainmerton
The Acquainted
 
captainmerton's Avatar
 
Join Date: May 2009
Posts: 178
Thanks: 9
captainmerton is on a distinguished road
Default

Depends - I would suggest using a mysql database but if you dont have that you just need to:

1. Use something to identify the user (a cookie perhaps)
2. Store the start and end time in a file when the buttons are clicked you can use a php function to get the time on the host server

I'd use mysql if i was you but what you are suggesting sounds pretty straight forward.
captainmerton is offline  
Reply With Quote