Re: [PHP] filemtime doesn't always copy correctly

2005-11-08 Thread Richard Lynch
On Sun, November 6, 2005 7:37 am, David T. Kotchen wrote: > I am backing up a file (the path & filename of which are stored in > $original; the path & filename of the copy are stored in $bkup). I > would also like to copy the file modification time of $original, so, > after copying the file itself

[PHP] filemtime doesn't always copy correctly

2005-11-06 Thread David T. Kotchen
I am backing up a file (the path & filename of which are stored in $original; the path & filename of the copy are stored in $bkup). I would also like to copy the file modification time of $original, so, after copying the file itself, I use: touch($bkup, filemtime($original)); However