Word input on client's side

From: Date: Fri, 15 Nov 2002 18:39:11 +0000
Subject: Word input on client's side
Groups: php.windows 
Request: Send a blank email to php-windows+get-16975@lists.php.net to get a copy of this message
Hello, how can I make a page open in Word instead of the browser? If I just write: header( "Content-type: application/msword" ); won't change anything, the page opens in explorer. The file is generated on the fly, so there is no real file to open, just the output from the webserver. As far as I know, Word can open html pages as well as documents. The following button opens word if the user clicks on it. Test <INPUT type="button" value="Open Word" onclick="OpenWord()"> The problem is: how to pass to word the output of the php code? Thanks for any idea Szilard

« previous php.windows (#16975) next »