Cheap Domains, $1 .COM Websites! - Free .COM (or $1.99) on Many Products!
 
Only Minimal Purchase Req'd on Many Free/$1.99 .COM Offers.    And Our Sale Domains are Often Under $2 or $3/year with No Further Purchase Req'd.
 
Plus, almost ALWAYS 15% OFF Everything Not Already Discounted.    15% OFF Most Renewals too!      New: Business-Growth Website-Builders and Hosting!
 

 *ICANN fee adds 18¢ many domains; tas applies some areas.  Our $1 Website Builder with Free .COM is based on 12 months at $1/mo.   Multipile or "Stacked" discounts in same purchase often disallowed (may require separate transactions).  Click for details.

 
Cheap Domains Cheap Domain Names

  
Use Promo HDX for at least
Cheap .com
that's not already On Sale!*
 

Cheap Domains     $1 Websites     Free USA-based Sales/Support:  (800) 655-5512
 

.COM $7.64 (Promo: HDX) |  .NET $10.19  |  .SITE $2.99  |  .ORG $9.99  |  .INFO $4.99  |  .UK $7.64  |  .EU $6.79

Cheap Domains include FREE:  100 Email Addresses & Account, Full DNS Control, Domain Forwarding, Masking, Registrant-Change/Transfer, Monitoring/Alerts, Locking, Expiration Protection, More!

Cheap Domains - Find Yours Now:    
 
Most prices shown
use Promo Code: HDX.  This search function, and most product pages, display higher prices at first, but don't worry,  Discounts appear in Shopping Cart when Promo Code Entered    details

Free .COM Domains!   ...with many products...  

 $1 Website Instantly     Business Website Builder

 Most cPanel & Plesk Hosting    Some WordPress Packages

$1.99 .COM Domains   ...on much else, often including:

Many Email, Calendar, Storage Plans Powerful SSL Certificates, more!

 
Terms & Conditions Here.  Add a .COM to Cart to verify price if product description not specific.

 

 
 

 Cheap Website       Cheap WordPress Hosting        Cheap Website Builder - Easy, Instant!    
Cheap Dedicated Servers       Cheap Virtual Private Servers      
Blogcast and Podcast 

 
Cheap Domains | Availability Check:
 
  

Frequently Asked Questions

Help Center Search

Using PHP Form Mailers

Print this Article
1 Dollar Domain
Last Updated: September 11, 2017 10:00 AM

Two non-CGI form mailers are included in Linux shared hosting account default files: webformmailer.php and gdform.php. They reside in the root directory of your hosting account. Incorporating either of these scripts into your Web site creates a form to capture user information and email it to a specified address.

For more information about designating the destination email address, see Specifying an Email Address for the PHP Form-Mailer.

Note: webformmailer.php is for use with accounts running Hosting Configuration 2.0, only. For information, see What functionality does Hosting Configuration 2.0 provide? and How do I upgrade my hosting account to run Hosting Configuration 2.0?

webformmailer.php

To Use webformmailer.php

  1. Create a Web form, assigning unique names to your form fields.
  2. In the form tag, assign /webformmailer.php to the action attribute and set the form method to post:

    <form action="/webformmailer.php" method="post">
  3. In addition to the form fields you create, there are three hidden elements you can use.

    form_format determines in what format the information is delivered. Its values are 'text', 'csv', 'html', 'xml', and 'default' (same as 'text').

    form_order dictates in what order the fields are reported. Its values are 'default' (the same order as they appear on in the form), 'alpha' (alphabetized by field name) or a comma-separated, case-sensitive list of all or some field names.

    form_delivery determines the frequency and packaging of deliver. To receive one email per form submission, the form_delivery values are 'default' (every 15 minutes), 'hourly', and 'daily'. To have receive all submissions in an attachment of one email, the form_delivery values are 'digest', 'hourly_digest', and 'daily_digest'.

    For example:

    <form action="/webformmailer.php" method="post">
    <input type="hidden" name="subject" value="Submission" />
    <input type="hidden" name="redirect" value="thankyou.html" />
    First Name: <input type="text" name="FirstName" />
    Last Name :<input type="text" name="LastName" />
    Email: <input type="text" name="email" />
    Comments: <textarea name="comments" cols="40" rows="10">
    Type comments here.</textarea>
    <input type="submit" name="submit" value="submit"/>
    <input type="hidden" name="form_order" value="alpha"/> <input type="hidden" name="form_delivery" value="hourly"/> <input type="hidden" name="form_format" value="html"/> </form>

gdform.php

To Use gdform.php

  1. Create your Web form as normal and assign unique names to your form items.
  2. NOTE: Keep in mind that our form-mailer script will sort the names of your form items alphabetically when it composes the email message. This is the order of precedence: uppercase letters, lowercase letters, numbers.

  3. For the form action line, enter /gdform.php. For example:
    <form action="/gdform.php" method="post">
  4. Set the form method to "post."
  5. In addition to the fields you create in your form, there are three special fields that you can use: subject, redirect, and email.

    Subject. Controls the subject line in the form email.

    Redirect. Controls the page that your visitors will see after they submit the form.

    Email. Controls the return address for the form email.

    For example:

    <form action="/gdform.php" method="post">
    <input type="hidden" name="subject" value="Form Submission" />
    <input type="hidden" name="redirect" value="thankyou.html" />
    <p>First Name:<input type="text" name="FirstName" /></p>
    <p>Last Name:<input type="text" name="LastName" /></p>
    <p>E-Mail:<input type="text" name="email" /></p>
    <p>Comments:<textarea name="comments" cols="40" rows="10">
    Type comments here.</textarea></p>
    <input type="submit" name="submit" value="submit"/>
    </form>
  6. Save and upload your file to your hosting account.

For information on reinstalling your default scripts, see How Do I Reinstall the Default Scripts Directory?

Cheap Domain Names
 


Toll Free Technical Support from a USA Call Center, 24 hours a day, 365 days a year:    (800) 655-5512
 
Call us with any sales or support question.     Place Orders by Phone.    Our USA-based Help Desk speaks your language.
 

Call Centers located in the Greater Phoenix metro area and Central Iowa, USA.     Technical Support also available in Spanish   New to Us?  Get a free account in 60 seconds.


 

 

 $1 Cheap Domains   |   $1 Websites   |   Product Catalog   |   Sale Price FAQ   |   Help Pages   |   FAQ   |   Free Phone Support   |   Free WHOIS Lookup   |   My Cart   |   Login

 
ICANN fee of 18 cents [$0.18] may apply on some domain names.    Notice for .eu and some other registering inbound
domain transfers: WHOIS may show domain held under registry
Weiled Weast Domains and/or HostingDude.com.   Legal Agreements.

(https://legacy.hostingdude.com)
 

 


 

Copyright © 2003 - 2019  HostingDude, Inc.  All Rights Reserved.  No reprint or re-use without written authorization.