Is there a safer way of doing this in PHP, aside from opening a file's contents and saving it out?
[man]touch[/man]
Weedpacket;10877992 wrote:[man]touch[/man]
Neat! Anything similar for changing the file creation date?
Recreate the file. As noted on the [man]filectime[/man] page,
Note: Note also that in some Unix texts the ctime of a file is referred to as being the creation time of the file. This is wrong. There is no creation time for Unix files in most Unix filesystems.