Maybe you're right.. But all output commes with this. not only attachments,  pages too. In attachment.php changed last string to:

// fpassthru($fp);
readfile($pun_config['attach_basefolder'].$attach_location);

no effect.

ENGLISH

Hi!
The problemm:
Found out recently - files downloaded from forum  are dammaged. File comes with signature in the begining of file : EF BB BF EF BB BF. File size is the same so content is 6 bytes cut.
Files on server are Ok.
Its not critical for html but binary files become usless.

Whats this?


RUSSIAN:

Ïðîáëåìà:
Ïîñëå çàãðóçêè àòà÷à(Attachment Mod) ñ ôîðóìà ôàéë íå îòêðûâàåòñÿ. Ñìîòðþ âîâíóòðü - âèæó â íà÷àëå ôàéëà ÷òî-òî òèïà çàêîëîâêà â 6 áàéò (ñì. subj) Ïëþñ ê òîìó, èíîãäà, â êîíåö ôàéëà ïðîïèñûâàåòñÿ ðàçìåð ôàéëà. Áëèí.

Êòî íèáóäü ñòàëêèâàëñÿ?



Conditions (Óñëîâèÿ):
URL: http://road.perm.ru/forum/viewtopic.php?id=16
PunBB 1.2.14
Attachment Mod 2.0.1

Hosting:
PHP Version 4.4.4
Linux darkstar 2.6.8-3-686


ÇÛ
Ñ extern.php òàêàÿæå ïðîáëåìà.  ðåçóëüòàòå âûçîâà, â íà÷àëå èäóò ýòè æå áàéòèêè.
Ãëÿíóë â ïðèõîäÿùèé html - òàì òàêàÿæå ôèãíÿ.