If you have users complete an exam using an html form and POST results to a php script, how can you time their session? Is it better to use some java script in html or is their an easier funtion in php? I read through time() function, but not sure if I should use it.