form output to Word

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
p3x
Forum Newbie
Posts: 9
Joined: Thu Nov 11, 2004 4:35 am

form output to Word

Post by p3x »

Hello,

I have the following problem. I have an application form on my website. When the form is filled in correcly and the user presses 'send' I receive the form in my email as plain text.

I then copy/paste the text in the email (from the form) to a preformatted Word document. This document consists of numerous tables. This copy/pasting is pretty cumbersome work and I would like to know if there is a way to do it quicker. Like, for example, when the form is submitted I receive the pre-formatted Word document in my email as an attachment (all filled in ofcourse). I know I could tell ppl to download the document, then fill it in and then email it to me, but I dont like that option. Maybe I should use PHP in combination with a VBA script on my own computer??

Help would be greatly appreciated! :)

P3x
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

p3x
Forum Newbie
Posts: 9
Joined: Thu Nov 11, 2004 4:35 am

Post by p3x »

thanks, but that won't work since the server is running on Linux (and hence the COM calls won't work)...any other ideas? :)
Post Reply