Page 1 of 1

Linux file creation time?

Posted: Thu May 18, 2006 6:17 pm
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 :)

Posted: Thu May 18, 2006 9:06 pm
by bdlang
filectime() is about as close as you're going to get, PHP wise anyway.

Posted: Thu May 18, 2006 9:22 pm
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 :)