View Single Post
Old 06-28-2022, 12:48 PM  
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
Quote:
Originally Posted by Publisher Bucks View Post
Interesting, I didnt even think of that, does that work the same for anything form related, such as time, etc?
Time isn't form related! You can always get the current time on the server with time() which returns a UNIX timestamp, you can convert that into a readable date/time string with date(). If you put it in a hidden input field in the form it will give you the time you served the page to the client, not the time the user submitted it. If you get it when processing the POSTed form it will be the time on the server when the form was received back from the client.
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote