Tuesday, November 07, 2006

How to stream the file directly using PHP?

<?php
header("Content-type: application/msword");
header("Pragma: no-cache");
header("Expires: 0");
echo "<html><head></head><body><b>Say hello</b> to my http server</body></html>";
?>

No comments: