0

Hi Everyone

I am working on to read doc file in php but it return €€€€Œ¸

Please help me to read doc file line by line in php.

Any Help will be appreciated.

Thanks in Advance

3
Contributors
9
Replies
10
Views
6 Years
Discussion Span
Last Post by pritaeas
0

A Word document is a binary format, and would need a parser to read it. You could use the Word XML format and parse it using SimpleXML or the likes.

0

A Word document is a binary format, and would need a parser to read it. You could use the Word XML format and parse it using SimpleXML or the likes.

but tell how to pass that to XML if you upload .doc

0

Hi Everyone

I am working on to read doc file in php but it return €€€€Œ¸

Please help me to read doc file line by line in php.

Any Help will be appreciated.

Thanks in Advance

0

My last comment was directed at P0IT10n. Reposting your question doesn't really help. Have you tried with a Word XML document yet ?

Edited by pritaeas: n/a

0

actually i want to read doc file line by line so that its data displays in same format as it was before

0

With a normal doc file, which is in binary format, this is not possible without a specialized parser.

A Word XML doc file is a plain text XML file, which would make this easier, that is why I suggested it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.