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:
Date: 6 months ago
Size: 1,204 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
  • buildid
  • updatesystemversion
  • source control id
  • filesize
  • pathinfo

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