Use PHP to create a DOC file on a Unix Box based on an HTML webform selection -


I have an HTML file that contains a webform with many questions that do not have a Yes / No answer.

If the answer to the question is yes, then the text of a predefined (per-question) section should be written to a DOC file on the server, but only after the submit button is pressed (if the user Yes, yes, I will not have to type the doctor again.)

When the user has submitted, the file should be presented as a download .

Any ideas

You can get some scripts (php, jsp, ... ) This way

  & lt; Form action = "/ myscript.php" method = "post" & gt; Your form & lt; Input type = "submit" value = "send form" & gt; & Lt; / Form & gt; Then the script works entirely ... Here are some examples for php: 

  • < / Ul>

Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -