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

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -