22 $info = &$this->getid3->info;
25 $EXEheader = $this->
fread(28);
28 if (substr($EXEheader, 0, 2) != $magic) {
33 $info[
'fileformat'] =
'exe';
34 $info[
'exe'][
'mz'][
'magic'] =
'MZ';
49 $info[
'exe'][
'mz'][
'byte_size'] = ((
$info[
'exe'][
'mz'][
'raw'][
'page_count'] - 1)) * 512 +
$info[
'exe'][
'mz'][
'raw'][
'last_page_size'];
50 $info[
'exe'][
'mz'][
'header_size'] =
$info[
'exe'][
'mz'][
'raw'][
'header_paragraphs'] * 16;
51 $info[
'exe'][
'mz'][
'memory_minimum'] =
$info[
'exe'][
'mz'][
'raw'][
'min_memory_paragraphs'] * 16;
52 $info[
'exe'][
'mz'][
'memory_recommended'] =
$info[
'exe'][
'mz'][
'raw'][
'max_memory_paragraphs'] * 16;
54 $this->
error(
'EXE parsing not enabled in this version of getID3() ['.$this->getid3->version().
']');
static LittleEndian2Int($byteword, $signed=false)
static PrintHexBytes($string, $hex=true, $spaces=true, $htmlencoding='UTF-8')
fseek($bytes, $whence=SEEK_SET)
getID3() by James Heinrich info@getid3.org //