Linux file creation time?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Linux file creation time?

Post by alex.barylski »

What is the equivelant?

My code relies on knowing when a file was *created* not last accessed, modified, etc...

As the file can change and will frequently be accessed...what I am to do without creation dates???

Cheers :)
bdlang
Forum Contributor
Posts: 395
Joined: Tue May 16, 2006 8:46 pm
Location: Ventura, CA US

Post by bdlang »

filectime() is about as close as you're going to get, PHP wise anyway.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Ooops :oops:

I forgot to delete this thread... :P

I've discovered that creation time isn't critical...and that last accessed timestamps should work ok for my situation :)

Cheers :)
Post Reply