The script for modifying the access time without modifying
the modified time is overly complicated:
<? touch($filename, date('U', filemtime($filename)),
time()); ?>
Since filemtime returns a UNIX timestamp, there is no need
to call date('U') so the script could be simplified to:
<? touch($filename,filemtime($filename),time()); ?>
----
Server IP: 64.71.164.2
Probable Submitter: 129.21.141.57
----
Manual Page -- http:
//www.php.net/manual/en/function.touch.php
Edit -- https://master
.php.net/note/edit/74240
Del: integrated -- h
ttps://master.php.net/note/delete/74240/integrated
Del: useless -- http
s://master.php.net/note/delete/74240/useless
Del: bad code -- htt
ps://master.php.net/note/delete/74240/bad+code
Del: spam -- https:/
/master.php.net/note/delete/74240/spam
Del: non-english --
https://master.php.net/note/delete/74240/non-english
Del: in docs -- http
s://master.php.net/note/delete/74240/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/74240
Reject -- https://mast
er.php.net/note/reject/74240
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|