hmsilveira Posted March 23, 2011 Share Posted March 23, 2011 Hi, I need to open an RTF File on client side. When user submit form, the system will write some data in database and at the end, it has to open an rtf file in order to user be able to print it. Any ideas? Thanks Hugo Quote Link to comment Share on other sites More sharing options...
MatthewJ Posted March 23, 2011 Share Posted March 23, 2011 http://www.freeopenbook.com/php-hacks/phphks-CHP-5-SECT-16.html Quote Link to comment Share on other sites More sharing options...
hmsilveira Posted March 23, 2011 Author Share Posted March 23, 2011 Hi MatthewJ, The link that you send me explains how to dinamically create an rtf file but i just need to open one rtf file that i have available on server side. Any more ideas? Thanks in advance Regards Hugo Quote Link to comment Share on other sites More sharing options...
MatthewJ Posted March 23, 2011 Share Posted March 23, 2011 You just need to get the contents of that file into a variable, and use the same content-header method to display it for print/save. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.