I am in the need to do the following: A web php form in which A user clicks on a timer button. Then after a certian amount of time when click submitting form (or end timer button) and the elapsed time is sent with the form through e-mail. ANyone know how I could go about this.
@bokehDec 11.2005 — #Save the time you sent the form to the user in a php session. When the user submits the form get the present time and subtract the time saved in the session.
If you want a timer the user starts though you will need to use Javascript.
$unregMsg="<div align="center"><font size="1" face="Arial">Created with CoffeeCup Form Builder <a href="http://www.coffeecup.com/" target="_blank" title="CoffeeCup Form Builder">Download It Here</a></font></div>";
$msg .= "------------------------rnrnThis Form was sent to you using CoffeeCup Form Builder.rnPlease tell a friend about us: http://www.coffeecup.com/form-builder/rn";
}
else
{
$unregMsg = '';
}
//...... Why are we converting underscores to spaces?
$newMsg=str_replace("_"," ",$msg);
//...... Construct a proper mime/UTF-8 for extended ASCII, and internationalization
echo("<h2 style="font:normal 20px 'Trebuchet MS',arial">$string</h2>");
echo("<h2 style="font:normal 12px 'Trebuchet MX',arial">Either sendmail or smtp is not properly configured on your system.<br />Please contact your hosting provider to correct this problem.<!-- $version --></h2>");