Re: Accessing Windows File Comments
| From: | Bastien Koert | Date: | Thu, 25 Feb 2010 15:12:48 +0000 |
| Subject: | Re: Accessing Windows File Comments | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302370@lists.php.net to get a copy of this message | ||
On Thu, Feb 25, 2010 at 9:59 AM, Floyd Resler <fresler@adex-intl.com> 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
>
>
If you have access to read the files and the comments are clearly
delineated, then its shouldn't be hard to open each file and then pull
out the contents with regex or str parsing.
You might want to store the data somehow, so that in the future you
only have to read in the changed files.
--
Bastien
Cat, the other other white meat