Re: Accessing Windows File Comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 25, 2010 at 9:59 AM, Floyd Resler <fresler@xxxxxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux