ti basta mettere questa riga nell'header

Codice PHP:
header("Content-Type: application/msword");