PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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.
" . $mail_message . "Time Form Submitted: ".$_SERVER['REQUEST_TIME']."\n
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
arborint, thanks for that, it works. It is two hours more than my current time zone, but I'll just subtract the difference when I need too. Thanks again.
Nootkan