NYCPHP Meetup

NYPHP.org

[nycphp-talk] Timing an Input Form Entry

Rolan Yang rolan at omnistep.com
Mon Oct 6 21:10:37 EDT 2008


Put the timestamp of when the page was first served as a hidden variable 
in the form. Then compare it to the time when it was submitted (after 
completed).

<input type="hidden" name="served" value="<?=time()?>">

~Rolan

mikesz at qualityadvantages.com wrote:
> Hello NYPHP,
>
> Greetings to All,
>
> I need to time how long it takes to fill out a registration form, from
> when it is called to submission. I am trying to compare the time frame difference
> between the form being manually filled out versus an automated script.
>
> Any ideas or direction about how to do this would be enormously
> appreciated.
>
>   



More information about the talk mailing list