<?
// create an API client instance
//$pdf=new pdfcword();
// convert a web page and store the generated PDF into a variable
//$pdf = $client->convertURI(" c:\")>");
//set HTTP response headers
header("Content-Type: application/msword"); ตอนนี้ใช้บรรทัดนี้
//header("Cache-Control: no-cache");
//header("Accept-Ranges: none");
header('Content-Disposition: attachment ; filename="help.doc"'); กับ บรรทัดนี้
//header('Content-Disposition: attachment ; filename="c:\output\mko.pdf"');
// send the generated PDF
//"c:\help.doc"
//echo "c:\output\mko.pdf"
//echo $pdf;?>