File: README.md

Recommend this page to a friend!
  Classes of peyman  >  PHP Windows exe Parser  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Windows exe Parser
Parse and extract details from Windows exe files
Author: By
Last change: Update README.md
Update README.md
Update README.md

added LegalTrademarks1 and LegalTrademarks2
Update README.md

added GitHub URL to the readme
Date: 9 months ago
Size: 1,668 bytes
 

Contents

Class file image Download

php-exe-file-details-parser

a php class for parsing exe file details ( without COM ) also works for files with same file detail format as exe (.dll , sys , ..)

usage

$filedetails = new filedetailsparser($filepath);
$data = $filedetails->getdata($type);
  • filepath : exe file path
  • type : data type 'array' | 'object' (optional) default:'array' ### return : return array/object on success or exception on fail

getbykeyname

$keyvalue = $filedetails->getbykeyname($keyname,$type);
  • keyname : file detail key name (from list)
  • type : data type 'array' | 'object' (optional) default:'array' ### return : return string/array/object on find or 'false' on notfind

getdatalist

$data = $filedetails->getdatalist($keylist,$type);
  • keylist : list of keys for extraction from data
  • type : data type 'array' | 'object' (optional) default:'array' ### return : return array/object

filedetails list

  • companyname
  • filedescription
  • fileversion
  • internalname
  • legalcopyright
  • originalfilename
  • productname
  • productversion
  • companyshortName
  • productshortName
  • lastchange
  • legaltrademarks
  • LegalTrademarks1
  • LegalTrademarks2
  • buildid
  • updatesystemversion
  • source control id
  • filesize
  • pathinfo
  • Comments
  • FileBuildPart
  • FileMajorPart
  • FileMinorPart
  • FileName
  • FilePrivatePart
  • IsDebug
  • IsPatched
  • IsPreRelease
  • IsPrivateBuild
  • IsSpecialBuild
  • Language
  • PrivateBuild
  • ProductBuildPart
  • ProductMajorPart
  • ProductMinorPart
  • ProductPrivatePart
  • SpecialBuild

note : not all of these properties are available for all .exe or .dll files.

github : https://github.com/pfndesign/php-exe-file-details-parser

For more information send a message to info at phpclasses dot org.