msdos date/time encoding in php?
| From: | Andy Pieters | Date: | Thu, 07 Jul 2005 22:23:16 +0000 |
| Subject: | msdos date/time encoding in php? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-218321@lists.php.net to get a copy of this message | ||
Hi all
I am trying to set the last modified date/time of individual files in a zip
file.
According to the specification (http://www.pkware.com/appnote.txt), date/time
are two bytes each, and use standard msdos date/time encoding.
Does anybody have a clue to this?
With kind regards
Andy
--
Registered Linux User Number 379093
-- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
-- ---END GEEK CODE BLOCK------
--
Check out these few php utilities that I released
under the GPL2 and that are meant for use with a
php cli binary:
http://www.vlaamse-kern.com/sas/
--
--
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]