|
|
@ -102,7 +102,7 @@ function tnef_geti32(&$buf)
|
|
|
|
|
|
|
|
|
|
|
|
function tnef_decode_attribute($attribute, &$buf)
|
|
|
|
function tnef_decode_attribute($attribute, &$buf)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
global $debug, $download;
|
|
|
|
global $debug;
|
|
|
|
|
|
|
|
|
|
|
|
$length = tnef_geti32($buf);
|
|
|
|
$length = tnef_geti32($buf);
|
|
|
|
$value = tnef_getx($length, $buf); //data
|
|
|
|
$value = tnef_getx($length, $buf); //data
|
|
|
@ -116,9 +116,9 @@ function tnef_decode_attribute($attribute, &$buf)
|
|
|
|
switch($attribute)
|
|
|
|
switch($attribute)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
case TNEF_BODYTEXT:
|
|
|
|
case TNEF_BODYTEXT:
|
|
|
|
if (!$download)
|
|
|
|
if ($debug)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
printf("<b>Embedded message:</b><pre>%s</pre>",$value);
|
|
|
|
printf("<b>Embedded message:</b><pre>%s</pre>", $value);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|