opening msword files outside the browser

From: Date: Sun, 15 Jun 2003 11:21:55 +0000
Subject: opening msword files outside the browser
Groups: php.general 
Request: Send a blank email to php-general+get-151557@lists.php.net to get a copy of this message
Hi! I am using: <?php header('Content-Type: application/msword'); header('Content-Disposition: attachment; filename=test.doc'); readfile("test.doc"); ?> What changes should be made to this code to skip the dialog box asking Open, Save, Cancel and go right to the opening the MSWord file outside the browser? Thanks, Maris

« previous php.general (#151557) next »