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

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.

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

I don't understand your question, please explain.

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

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

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

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.