GeekLabs FormMail.PHP Example/Testing Form
The following items can be embedded in the form, or set in the script:
formname:
example
optional: useful if you use multiple forms in the same script to store the output in seperate data files
recipient:
mikeh@geeklabs.com
optional: e-mail address to send forms to. can be hard set in script, which disables being set in forms.
thanks:
optional: page to send client to after form submission, defaults to /
referrers:
fleeze.net,geeklabs.com
required: set in script: domains to accept form submissions from
clientid / referrer:
38.107.179.211| /
just being displayed for diagnostic purposes.
The following is an example form:
email
email
is a special field name. If you use it, the script will check if it appears valid and do a MX record check on the domain. If valid, it will email a copy of the plain ASCII form response to that email address.
name
comments:
radio:
Yes -
No
checkBox:
Yes