1and1 Help Centre Categories

print article

Example 1: Create a Form Using FormMail.pl

Create a form called form.html and then insert this HTML code into the file.

 <title>What is your favorite animal?</title>
 <form method="post" action="http://yourDomain.com/FormMail.pl">
    <td>What is your name?</td>
    <td><input type="text" name="visitorsName" /></td>
    <td>What is your favorite animal?</td>
    <td><input type="text" name="favAnimal" /></td>
    <td colspan="2"><input type="submit" /></td>
You will need to replace the text in red above with the location of the FormMail.pl script.