Forum Moderators: coopster

Message Too Old, No Replies

get description and version of dll file

get description and version of dll file

         

MoonOZ

7:57 pm on Aug 17, 2007 (gmt 0)

10+ Year Member




Hello,

When we pass cursor on some dll files we get some informations about file like description, version, created date, author,...

is there some php functions who return this informations?

Thanks in advance

eelixduppy

1:32 am on Aug 23, 2007 (gmt 0)



Hello,

You may be able to use stat [us2.php.net] if you have access to the dll file in question.

SteveLetwin

9:54 pm on Aug 23, 2007 (gmt 0)

10+ Year Member



is there some php functions who return this informations?

Short answer: no.

stat will only give you only generic info that is applicable to all files and some of it doesn't even really apply to windows (which is the platform I'm guessing you're using.) There does not seem to be any PHP function to do what you want. There is however experimental support to use the Win32 API from PHP, and I'm sure somewhere in there is a function to do what you need. Or you could find the file format of DLLs and try to write parsing functions for the file with PHP yourself.

But the first way is probably impractical, and the second way is just plain crazy.