Page 1 of 1

Converting all filetypes to an HTML page in PHP

Posted: Tue Dec 23, 2008 5:25 am
by mudgil.gaurav
Hi All

I am working in a project. My requirement is user can upload the content in any format like pdf , doc , excel , ppt etc. But before saving i need to convert them into the html document.

Please suggest me for the same , how i should proceed.

Any help or suggestions would be greatly appreciated.

Thanks

Re: Converting all filetypes to an HTML page in PHP

Posted: Tue Dec 23, 2008 1:08 pm
by califdon
I think you will discover that that is a very big programming job, since each of those formats is utterly different and most are proprietary. How do you think that a PowerPoint presentation could be converted into HTML???

Re: Converting all filetypes to an HTML page in PHP

Posted: Tue Dec 23, 2008 10:01 pm
by Syntac
This is a massive undertaking (read: you can't do it).

Re: Converting all filetypes to an HTML page in PHP

Posted: Tue Dec 23, 2008 11:48 pm
by Bill H
In the South (notice I capitalized that) if you ask someone for directions and he doesn't know, he will never admit that he doesn't know. The place you are inquiring about may be two blocks away, but he will tell you, "You cain't git thar from here."

In this case, though, I don't think it's that these guys don't know how. I believe you actually, "cain't git thar from here."

Re: Converting all filetypes to an HTML page in PHP

Posted: Wed Dec 24, 2008 10:33 am
by Syntac
Well, a genius developer can do it, but it's really difficult. It took me two months to write a Word-to-HTML converter, and it sucked.