By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,664 Members | 1,656 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,664 IT Pros & Developers. It's quick & easy.

setting filemtime

P: n/a
I see that php has filemtime and stat.

I don't see how to set a files last modification time. How do you do that?

Jeff
Aug 13 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Jeff wrote:
I see that php has filemtime and stat.

I don't see how to set a files last modification time. How do you do that?

Jeff
You can't, other than the current time (i.e. open the file for append
and close it again).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Aug 13 '08 #2

P: n/a
On Aug 13, 2:18*am, Jeff <jeff@spam_me_not.comwrote:
* I don't see how to set a files last modification time. How do you do that?
touch() Sets access and modification time of file.
Aug 13 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.