Use PHP to create a DOC file on a Unix Box based on an HTML webform selection
Posted
by Gerald Oakham
on Stack Overflow
See other posts from Stack Overflow
or by Gerald Oakham
Published on 2009-10-19T10:11:04Z
Indexed on
2010/04/09
10:03 UTC
Read the original article
Hit count: 365
Hello,
I have an HTML file which contains a webform with multiple questions which have a YES / NO responses.
If the question has a YES answer, I would like a predefined ( per question ) section of text to be written to a DOC file on the server, but only AFTER the submit button has been pressed ( this way, if the user changes their mind and changes an answer form YES to NO, I won't have to re-write the doc ).
When the user has clicked Submit, The file should be presented as a download.
Any Ideas
© Stack Overflow or respective owner