how to display word document in browser in localhost?
<p>I got this code from stackoverflow which can display the word document in browser..   Can it be possible to display the word document in localhost only .. bcz after trying this code .. It's only showing me "no preview available" .. </p>

<pre><code>$(document).ready(function() {
$(".word").fancybox({
'width': 600, // or whatever
'height': 320,
'type': 'iframe'
});
}); 

&lt;a class="word" href="http://docs.google.com/gview?url=http://domain.com/path/docFile.doc&amp;embedded=true"&gt;open a word document in fancybox&lt;/a&gt;
</code></pre>

<p>My Piece</p>

<pre><code>$path="resume/".$row['resume']; 
echo "&lt;br /&gt;&lt;a class='word' href='http://docs.google.com/gview?url=".$path."&amp;embedded=true'&gt;View Resume&lt;/a&gt;";
</code></pre>

<p>M i giving the path incorrectly ?</p>