LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-10-2003, 01:05 AM   #1
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Rep: Reputation: 15
converting DOC to HTML using PHP


hi all,

i want to convert a particular doc file (which will be created using ms word) to html file without any administrative interference, in PHP. i have tried to use htmlenteties but to no avail.. is there any other method or code to do so? if yes, can u people send me? i do not want to use any software to do this.. it should happen all by itself.

i am using PHP 4.2.2 and RH9...

Regards
Xing
 
Old 11-11-2003, 12:41 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
You need .doc specification to do it. The thing is that for word 97 (not sure) it can be found, but it was not released for later versions.
 
Old 11-12-2003, 11:37 AM   #3
yngwin
Member
 
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359

Rep: Reputation: 33
You will probably need PHP to call a program like antiword to convert doc to txt, then convert txt to html.
 
Old 02-17-2009, 06:32 AM   #4
leo.bonnafe
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Convert DOC to PDF in PHP

A project called "phpLiveDocx" recently launched, which allows you to convert between DOC and PDF formats (in addition to a number of different file types).

Currently, HTML is not supported as an output format. However, it WILL be added very shortly.

Google 'Convert DOC to PDF in PHP' and you will see a blog post, which illustrates the conversion process.

Leo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting *.doc or *.rtf to PDF files Paulo Ges Programming 7 12-08-2006 09:07 AM
Converting PDF to text, rtf doc format saurya_s Linux - Software 2 06-16-2005 01:48 PM
Converting PDA DOC to TXT kaaaja Linux - Laptop and Netbook 1 04-26-2005 03:48 PM
.html to MS Word doc h/w Linux - Software 5 12-06-2003 03:28 PM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 05:06 AM


All times are GMT -5. The time now is 07:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration