Re: mime with php4.4.4 does not work anymore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roger Thomas wrote:
> I have been serving my community with Invision Power Board (IPB) v1.3.1 Final. Things are working well with PHP 4.3.8 and Apache 1.3.29.
> 
> Yesterday I just upgraded to PHP4.4.4 and I have problems with Excel and Word attachments with IPB. Whenever I click on those attachments, I will get all sorts of funny characters all over my browser screen. However, image attachments are correctly displayed inline.
> 
> I added --with-mime-magic=/usr/local/apache/conf/magic to configure but nothing change. If I were to roll back to PHP 4.3.8, IPB works perfectly.
> 
> What have I missed. Please advise. TIA.

I don't think anybody here can answer that without knowing how IPB
serves up those attachments.  Do they even go through PHP?  If not, then
it becomes a web server configuration issue.  If they do go through PHP,
what PHP functionality is IPB using?  Perhaps they are using the
deprecated mime_magic stuff?  They should be using pecl/fileinfo
functions if they need that stuff, but I think you will have to ask them.

-Rasmus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux