to fetch doc file content
<pre><code>$myFile = "pdf/document_file.doc";
$fh = fopen($myFile, 'r');
$theData = file_get_contents($myFile);
fclose($fh);
echo "&lt;pre&gt;";
echo $theData;
echo "&lt;/pre&gt;";
</code></pre>

<p>My above script fetches the data from document file but it display some of binary numbers.</p>

<p>I need to display document file content in to html content</p>

<p>For Example
If my document file is a resume. i need to fetch the content and display document data same as selected file in html page</p>
