Open microsoft Word

Is there any way to open un microsoft word file from a link html.? I am trying this , but always that the user click on the link . it start to download. I need thar open then microsoft office which is installed localy
I have tried with this

   header('Content-type: application/msword');
  header("Content-Length: ".filesize($arquivo)); 
  header("Content-Disposition: attachment; filename=".basename($arquivo)); 


try to use google docs to do this

Thanks, but I need to open Microsoft Word locally with the document from the web.

maybe you can use JavaScript, I don’t know if will work, it depends on security / browser

should work using:

<a href='ms-word:ofe|u|'>Edit</a>


1 Curtida

It’s perfect. Thanks