Reputation: 117
I have a customer who has a large php based web app. He wants to know if it is possible to use a php page to assemble a report (data from mysql database) and then at the click of a button open word 2010 on the client machine and load the report straight in.
I've done a bit of research that suggests it is possible but haven't found any specifics. Any pointers much appreciated.
Upvotes: 2
Views: 854
Reputation: 140
Due to the security measures in the browser, it's impossible to execute local programs by default. But you could make this feature work by creating a plugin for the browser (which would be able to open external programs but would require installation in the client machine).
Upvotes: 0
Reputation: 2314
Check this: http://phpword.codeplex.com/
It is a php library for parsing and creating MsWord documents.
Upvotes: 1