Is there a way to convert a .mht file to xls file

Hi,
i'd like to know if there is a class/function/tool in php that can convert a mht file to a xls file.
I've got a script in php that create a mht file. The problem is that this file is very big (more than 10 M) and under this format it takes time to open.
when you save the same file under xls format, the file is about 3-4 M and opens fastly.
Thanks for any help....
bruno_boccaraAsked:
Who is Participating?
 
bruno_boccaraConnect With a Mentor Author Commented:
I create the file using the mhtml format and parse it.
I in fact don't use header.
After My search, I think tha the best solution is to use an external tool to convert the file.
0
 
Loganathan NatarajanLAMP DeveloperCommented:
if you know structure / content of .mht file ... you may create xls file dynamically by setting the content type on the top header ... to create xls file...

did you try this?
0
 
Loganathan NatarajanLAMP DeveloperCommented:
ok ...
0
All Courses

From novice to tech pro — start learning today.