PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
How can I use header to open a msword doc in the browser without having that file tranfer window appearing asking if I want to download the file or open it? I've tried something like this:
<?php
header("Cache-control: private");
header("Content-type: application/x-msword");
header("Content-Disposition: filename=".$_GET['file']);
?>
But still that damn window insists in appearing.