Re: Get a file's version in PHP
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Get a file's version in PHP

From: Gordon Burditt <gordonb.wef5h@burditt.org>
Date: Sun Oct 30 2005 - 19:11:29 CET

>> I want to get the file version of a file in PHP.
>>
>> Do somebody have the code for this?
>>
>> Thanks alot!
>>
>
>What do you mean? If you mean the file creation date/last modified date, you
>can use the filectime/filemtime functions.

filectime does not return a "file creation date". Many operating
systems do not even maintain a file creation date. On the UNIX
variants that do keep a file creation date (only on UFS2 filesystems),
that isn't what filectime returns.

                                                Gordon L. Burditt
Received on Mon Nov 21 02:53:07 2005