Form Time Stamp
Posted: Mon Mar 24, 2008 1:56 am
Hello I am trying to get a timestamp that indicates when the form was sent to me. Here's what I tried based on my existing processor.php code and what I found in the php.net manual but it doesn't seem to give me the time or any errors but does give me the "Time Submitted" text then blank space. I have to assume I'm not far off.
The line above this one gives me the ip address without any problems, so I thought this would be the way to get the time. Is this the wrong approach?
Nootkan
Code: Select all
" . $mail_message . "Form Submitted by IP Address: ".$_SERVER['REMOTE_ADDR']."\nCode: Select all
" . $mail_message . "Time Form Submitted: ".$_SERVER['REQUEST_TIME']."\nNootkan