creating Office-Documents from a PHP generated page
Posted: Wed Mar 03, 2004 11:26 am
Hi,
I'd like to take over some data from a database (mysql) into a word document. The webpage to organise the data shall be generated using PHP (so far no problem).
No I don't know how to start interacting with office. I imagine there should be some activeX applet that is able to create a document from a template (on the users HD or a shared folder on the server) and fill in the data at the docMarks (similar as it would be done using Access and VBA code).
I'd be glad if you could help me with some information on how this could work, and where i could continue investigating for appropriate examples/code snippets.
I'm not so much concearned with security issues (for now) as the webserver and the client will both be located in a safe intranet.
Thanks,
Ingo
I'd like to take over some data from a database (mysql) into a word document. The webpage to organise the data shall be generated using PHP (so far no problem).
No I don't know how to start interacting with office. I imagine there should be some activeX applet that is able to create a document from a template (on the users HD or a shared folder on the server) and fill in the data at the docMarks (similar as it would be done using Access and VBA code).
I'd be glad if you could help me with some information on how this could work, and where i could continue investigating for appropriate examples/code snippets.
I'm not so much concearned with security issues (for now) as the webserver and the client will both be located in a safe intranet.
Thanks,
Ingo