Brothersoft.comWindows|Mac|Mobile|Games

|Message

Solve software problem quickly Share experience to help others Improve the ability of solving problem
How to Make a Suggestion Box in an HTML Page?

10/31/2011 09:46 by KCornell

First answer posted by Kiwinige at 10/31/2011 09:46
Add Your Answer
10~1000 characters in length CAPTCHA:
12 Answers
  • Kiwinige
  • Customize and Upload the Mail Form Script
    1. Download the free NMS FormMail Script from the Internet with your web browser. This script is more secure than other mail form scripts because it keeps the recipient's email address off the web page where spam bots can find it.

    2. Open your web editing tool and if you don't already have a local folder in your website files called cgi-bin, create one now.

    3. Open the FormMail.pl file in your web editing tool. You may need to use "File-->Open" instead of double-clicking on it if your web editing tool doesn't recognize the .pl extension.

    4. Select "Save As" from the File menu to give the script file a new name like "SuggestionBoxHandler.pl" and save it in the cgi-bin directory of your local website.

    5. Customize the variables at the top of the FormMail script in the User Configuration Section as directed in the FormMail instructions and as seen in the illustration here. Enter your domain name in the @refers array to ensure that only those who come through your website can use this script to send mail. Enter the email address to receive the suggestion box messages in the @allow_mail_to array. Both these variables prevent spammers from hijacking this script and turning your web server into a relay for their junk mail. Next to "From:" enter the display address the suggestion form should come from (usually your webmaster address).

    6. Save changes and upload the script file to your web server.

    7. View the files on your web server. With Dreamweaver you do this by selecting "Remote View" at the top of the files list on the right side of the screen.

    8. Set the file permissions for the script to 755 so that it can run from the web page. In Dreamweaver you can do this by right-clicking the file in the list and choosing "Set Permissions" from the pop-up menu. If you are working at the system level of your web server, the UNIX command is "chmod 755 SuggestionBoxHandler.pl."

    Create the Web Form and Thank You Page
    1. Create a new HTML web page in your web editing tool and call it "SuggestionBoxThankYou.html" (or similar). Save it at the top level of your website.

    2. Enter some text on this page that thanks the person who submitted a suggestion and includes your standard navigation or a link back to your home page. This page will appear in the web browser if the suggestion box web form submits successfully.

    3. Open the web page that will contain the suggestion box or create a new HTML page for it with your web editing tool.

    4. View the HTML code for this web page and insert the code you see in the figure here to create a web form with one text field that calls the NMS FormMail Script you just customized (SuggestionBoxHandler.pl). Notice the command for the redirect to the Thank You page. Customize your code to include your domain name and the filename for your Thank You page.

    5. Save changes and upload this web page and the Thank You web page to your web server.

    6. Use your web browser to view and test the page with the suggestion box.

  • Was this answer helpful? 00 · 10/31/2011 09:46
  • Anonymous user
  • nccbnnbbnvnvc
  • Was this answer helpful? 00 · 08/19/2012 11:47
  • Anonymous user
  • gkhjlchjlhvl;lkk
  • Was this answer helpful? 00 · 08/20/2012 03:06
  • Anonymous user
  • fffffffffffffffff
  • Was this answer helpful? 00 · 12/12/2012 08:45
  • Anonymous user
  • gsgs syhnednd mjauajhs
  • Was this answer helpful? 00 · 12/23/2012 12:26
  • Anonymous user
  • <b></b> hello
  • Was this answer helpful? 00 · 01/31/2013 03:26
  • Anonymous user
  • vfvfvf bvhnghb hujngnmy jynyjh
  • Was this answer helpful? 00 · 08/08/2013 04:28
  • Anonymous user
  • hai this is sankar
  • Was this answer helpful? 00 · 09/11/2015 16:12
  • Anonymous user
  • to use the html language
  • Was this answer helpful? 00 · 09/12/2015 12:48
  • Anonymous user
  • test to see if it works
  • Was this answer helpful? 00 · 10/16/2015 08:54
  • Anonymous user
  • send  me code
  • Was this answer helpful? 00 · 07/07/2016 20:05
  • Anonymous user
  • fgjfgjhdfjhfdhfhf
  • Was this answer helpful? 00 · 03/24/2017 06:17
Add Your Answer
10~1000 characters in length CAPTCHA:

0 people are following

Ask a question now
Write a title for your question

AppServ

AppServ is a full-featured of Apache, MySQL, PHP, phpMyAdmin.
Latest version:2.6.0
License:Freeware
OS:Windows XP
Total downloads:131,844
Rank:2 in Site Management
Download It

Share with friends

New features is coming

  • 1. Providing high-quality answers to be a verified Q&A expert
  • 2. Ask and answer questions to get Brothersoft credits

Added Successfully!

×

Are you sure to delete your answer?

NoYes

×

Are you sure to choose it as the best answer?

NoYes

×

Voted Successfully!

×

You can't vote for yourself

×

You can't choose your own answer

×