Manual - MailForm

  1. Edit the mail.php file
  2. Customize it :
  3. Upload the fiel to your webspace
  4. call the mail.php - done.

Both images will be created by the script during the first call of it. If it's done, they will be displayed once. If it dont works there is maybe an older version of php running on your webspace or the GD library isn't installed. In this case you can send me an eMail and I'll send you the images. Alternately you can also create your own images which you need to store in the same directory like the mail.php and label them 'mail_no.png' and 'mail_yes.png'.
If you include the mail.php in your existent contact page, the images will be created in the directory where the contact page is located.

You are able to format the whole script with CSS. The form is in a div called 'mail_form', the input fields are in divs called 'mail_fields', the text field is in an own div called 'mail_textfield' and the success message $success is in an own div called 'mail_success'.

The number of input fields is arbitrary, the only important thing is to define for each input field also an field description. Copy text field is not allowed. To use the implemented email-syntax-check the name of the email-input-field must contain 'mail' in lower case.
If you want a subject field, leave $fix_topic blank and add the respective field-pair as the last pair before the text field. If you wont define a subject field, set a fixed subject at $fix_topic.

©2006 Ingo Volkmann