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



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to