note 22319 deleted from function.time by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 04:25:14 +0000 |
| Subject: | note 22319 deleted from function.time by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142129@lists.php.net to get a copy of this message | ||
Note Submitter: paul at honeylocust dot com
----
Be careful about using the database clock (say UNIX_TIMESTAMP() in MySQL) and the time() function if
you're writing an application that may have the database be on a different machine than the web
server. In that situation, applications can break because of clock skew -- use a single authority
for timestamps if possible.