Аттачи в мозиле

BackUp

PROnets
LV
0
 
Мозила и многие другие браузеры не распознают картинки, а вметсо них абракадабра показывается. Кстати на этом форуме тоже :hi2:

<u>Открываем</u>:

/sources/misc/attach.php

<u>Заменяем:</u>
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--> &nbsp; @header( "Content-Type: ".$ibforums->cache['attachtypes'][ $attach['attach_ext'] ]['atype_mimetype'].
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "\nContent-Disposition: inline; filename=\"".$attach['attach_file']
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ."\"\nContent-Length: ".(string)(filesize( $file ) ) );<!--c2--></div><!--ec2-->

на

<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--> @header( "Content-Type: ".$ibforums->cache['attachtypes'][ $attach['attach_ext'] ]['atype_mimetype'] );
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@header( "Content-Disposition: inline; filename=\"".$attach['attach_file']."\"" );
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@header( "Content-Length: ".(string)(filesize( $file ) ) );<!--c2--></div><!--ec2-->

Надеюсь скоро на этом форуме смогу из своей мозилы картинки в атачах смотреть :rolleyes:
 
ага ато некотырые интересные фоты чтоб позырить тршя запускаю древний ie
 
тока учтите что это для <b>2.0.х</b> . В 2.1 эта пробелма уже решена(кстати именно оттуда и взято решение)
 
<!--QuoteBegin-•$EGUR@•+27.10.2006, 23:59--><div class='quotetop'>Цитата(•$EGUR@• @ 27.10.2006, 23:59)</div><div class='quotemain'><!--QuoteEBegin-->ОК.... спасибо... сейчас покушаю и поченю! ;)
<div align="right">[snapback]39616[/snapback]</div><!--QuoteEnd--></div><!--QuoteEEnd-->
Приятного аппетита ^_^
 
Сверху