From there, I just grab the doc, search and replace all my ||TEXT|| areas, and write the file back out, but with a .doc extension. Word will open it right up, just like it was a native word doc.
Theoretically, it's possible to do the same thing with saving an .html doc as .doc, but your mileage may vary.
-- jon
michael wrote:
You could try to generate RTF commands, not sure if that will work though. There should be loads of websites that give you the relevant commands.
Rgds,
Michael
Dirc writes:
Might be better to post this on one of the microsoft newsgroups as
news.microsoft.com
"Ron Herhuth" <Ron.Herhuth@xxxxxxxxxxxxxxxxx> wrote in message
news:6cdd01c4f34f$9c8a45d0$f25d2981@xxxxxxxxxxxxxxxx
I have successfully made a PHP script that takes dynamically generated
HTML and creates a Word Doc then saves it to the server and creates a link
to itself. This is fine and dandy but now I have to do a multipage
document using several dynamically generated pages...this isnt a problem
BUT I need to put a page break following each dynamically generated page.
Is there some MS WORD command that I could embed in the HTML I am
generating that will cause a page break?
This seemingly simple task is killing me.
Ron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-- jon roig web developer phone: 888.230.7557 email: jon@xxxxxxxxxxxxxxxxxx
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php