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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
bruno_boccaraAuthor 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Loganathan NatarajanLAMP DeveloperCommented:
ok ...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.