Forum Moderators: coopster
However, I can't seem to make sense of the three functions that I can use. This is what they do according to php.net:
fileatime - show last time file was accessed
filectime - show last time file was changed
filemtime - show last time file was modified
To my limited file knowledge I can't seem to understand which would show the create date. Any ideas?
Also, can someone tell me the difference between a file being changed and a file being modified?
Thanks.
To my limited file knowledge I can't seem to understand which would show the create date. Any ideas?
Doesn't look like you are going to be able to show the create date on a UNIX filesystem. Looking closer at the statement in the filectime function, we notice that "there is no creation time for Unix files in most Unix filesystems." I guess a workaround for this would be to create a separate file that stores your filenames and the date/time they were created.
On a Windows platform (or AS400, etc. that does store file creation information) you could execute commands [us3.php.net] on the system itself and return the information you want.
Also, can someone tell me the difference between a file being changed and a file being modified?
On a very basic level, changed refers to the file "defintion" whereas modified refers to the "contents" of the file.
> The user you are running as must have the correct
> permissions for the current directory in which you are
> trying to make the new directory.
That's what I figured, but I can't seem to change any permission settings for the current directory. Do you know how this can be done on Windows XP? I seem to have tried everything (properties, chmod), but nothing seems to work.
Thanks...
Thanks to everyone for the help...