Before changing the file, use the filemtime() <http://us3.php.net/filemtime>function to get the mod date, then use touch() <http://us3.php.net/manual/en/function.touch.php> to set the date after you change the file. On Thu, Oct 23, 2008 at 2:25 AM, Bastien Helders <eldros_kandar@xxxxxxxxxxx>wrote: > > Hi, > > When I'm archiving files in a ZIP file, using the class ZipArchive, the > modification date is modified to when ZipArchive::close is called. I would > like to keep the original modification date. Is that even possible? > > Best Regards, > Bastien Helders > > _________________________________________________________________ > Téléphonez gratuitement à tous vos proches avec Windows Live Messenger ! > Téléchargez-le maintenant ! > http://www.windowslive.fr/messenger/1.asp -- Kyle Terry | www.kyleterry.com