i have a rhel 4 server and use php as a server side scripting language. There are many doc and excel files that are uploaded to the server daily. i make these files to be downloaded. i want to implement the view as html feature and they should preserve the formatting also. so which tools can be used or it can be done through php only. (on php4)
Share
Good luck.
These are a large set of undocumented and different formats, mostly based around OLE.
You might want to have a look at wv (converts .doc files to HTML see http://wvware.sourceforge.net/ ) ISR that there is a similar tool for Excel – but google just turns up the usual crapware sites.
Alternatively you might want to use OpenOffice to perform conversions – it can be scripted / called via mono interface.
HTH
C.