How to read clean data from .docx or .doc file?

$doc_data = file_get_contents($file_url);

it's gives out put like

�T�a�b�l�e� �N�o�r�m�a�l����ö��4Ö� l�4Ö���aö������(�k ôÿÁ�(�� ������0�N�o� �L�i�s�t���������PK�����!�‚Š¼ú��������[Content_Types].xml

how to get clean data like text file??

firstly convert this file in txt formate than we esaily view in php

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.