salut,
J'ai modifi le code prcdent afin de le tester. voici le code:
1 2 3 4 5 6 7 8
| <?php
function LireWord($nom_du_document){
header('Content-Type: application/msword');
header('Content-Disposition: inline; filename=$nom_du_document');
readfile($nom_du_document);
}
LireWord("D:\\Projet\\TEST\\Test.doc");
?> |
et voici le rsultat obtenu:
ࡱ> "$!` bjbjss . bdddddd$h6>>>b>b>>> -J" >b0>7 7>7>$>($ Salut cest juste un test. h=h &,1h. A!"#$% @@@ NormalCJ_HaJmH sH tH :A: Police par dfautViV Tableau Normal4 l4a 2k2 Aucune liste0BG &=@H3@@UnknownGz Times New Roman5Symbol3& z Arial"1\\!r4HP(? &2DSIDSIOh+'0L ,4<DDSINormalDSI2Microsoft Office Word@F#@f&" @J" ՜.+,0 hp GS2E Titre #Root Entry FJ" %1Table WordDocument.SummaryInformation(DocumentSummaryInformation8CompObjq FDocument Microsoft Office Word MSWordDocWord.Document.89q
alors est ce que quelqu'un a une solution? merci d'avance...
Partager