Converting all filetypes to an HTML page in PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
mudgil.gaurav
Forum Newbie
Posts: 17
Joined: Wed Oct 08, 2008 4:39 am

Converting all filetypes to an HTML page in PHP

Post 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
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Converting all filetypes to an HTML page in PHP

Post 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???
User avatar
Syntac
Forum Contributor
Posts: 327
Joined: Sun Sep 14, 2008 7:59 pm

Re: Converting all filetypes to an HTML page in PHP

Post by Syntac »

This is a massive undertaking (read: you can't do it).
User avatar
Bill H
DevNet Resident
Posts: 1136
Joined: Sat Jun 01, 2002 10:16 am
Location: San Diego CA
Contact:

Re: Converting all filetypes to an HTML page in PHP

Post 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."
User avatar
Syntac
Forum Contributor
Posts: 327
Joined: Sun Sep 14, 2008 7:59 pm

Re: Converting all filetypes to an HTML page in PHP

Post 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.
Post Reply