Re: [PHP] Accessing Windows File Comments

[email protected] (Richard Quadling)
Newsgroups php.general
Message-ID <[email protected]>
On 25 February 2010 14:59, Floyd Resler <[email protected]> wrote:
> One of my users has asked if I can display comments with a file list on their site.  So I thought I might be able to use the comments from the properties of the file.  Is there any way I can access this from PHP?  The files are actually stored on a Linux box.
>
> Thanks!
> Floyd
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

The comments on a windows file (on the NTFS file system) are held in
Alternative Datastreams
(http://en.wikipedia.org/wiki/Fork_(filesystem)). As far as I know PHP
cannot natively access them, though externals tools exist ...

"LADS - Freeware version 4.10
(C) Copyright 1998-2007 Frank Heyne Software (http://www.heysoft.de)
This program lists files with alternate data streams (ADS)
Use LADS on your own risk!"



Or are you talking about a file whose content is a list of comments?



-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.