note 22319 added to function.time

From: Date: Thu, 13 Jun 2002 16:56:27 +0000
Subject: note 22319 added to function.time
Groups: php.notes 
Request: Send a blank email to php-notes+get-31818@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/function.time.php http://master.php.net/manage/user-notes.php?action=edit+22319 http://master.php.net/manage/user-notes.php?action=delete+22319 http://master.php.net/manage/user-notes.php?action=reject+22319

« previous php.notes (#31818) next »