$lastActivationDelay = time() + 8;
if($lastActivationDelay<$last_activation)
現在,不能正常工作。
我想要做的是如果你嘗試進入該頁面,並且
if $last_activation is under the $lastactivationdelay time, then echo false, else true
。
所以if eight seconds from now is over $last_activation, then true, if its under, then false
。
這是不可能的,告訴了什麼問題根據您提供的代碼。什麼是$ last_activation設置爲? – 2010-12-06 16:09:35