Program obtaining the new scriptdownload and save the

Assignment Help JAVA Programming
Reference no: EM13355273

Program: Obtaining the new script:

Download and save the attached comment CGI mailer script form-mail2.pl to your server's cgi-bin directory, and change the permissions on the script to make it executable (not writable). 

You need not know how it works complete the next step; however, as a Perl CGI script you may be interested in seeing what it does. 

2. Setting up the form page: 

In this part, you will create a form interface to the CGI program that will accept comments on your web site, as well as some information about the sender and send them to you via email. Create the form interface in a file called mailer.html. The form should include some brief instructions and a request for comments. Include the following input elements: o The form used for gathering the input has a NAME parameter set to usercomments. o The form uses the POST method and references the a script called form-mail2.pl on your server for the action. o The form includes some brief instructions and a request for comments. o The form includes the following input elements: o A text box, called realname for the person's name. o A text box, called email for the person's email address. o A text area called message for the comments. Make this a bit larger than the default size. o A group of at least 3 radio buttons called rating with a rating scale of your choosing for your web site. o A text box called phone for the person's phone number. o A text box called bday for the person's birthday. Make sure that the input elements are organized in a clear and usable fashion, and make sure that the function of each input element is clearly identified. 3. JavaScript validation: In this part, you will add JavaScript validation to the fields on the form. You can base your validation routines on any form validation on the Internet. 

There is a lot out there already written and there is no need to reinvent the wheel. However, make sure you give credit. The following validations should be checked both when the value of the field changes (onChange) and before the form can be submitted (onSubmit). If a field does not validate, an appropriate message should be displayed on the webpage (not in an alert), and the focus and select should be set to the offending field. o realname (must be non-blank, must begin with a capital letter, and must contain at least one vowel and one consonant) o email (email format: ) o message (must be non-blank) o phone (telephone format: (###) ###-#### ), but do not allow extra parentheses, spaces, or dashes within the phone number. o bday (date format: MM/DD/YY) 4. Adding a SSI footer: In this part, you will add a header, using SSI (server side includes), to the mailer page. o Re-name your mailer.html file to mailer.shtml, so that the server will check for includes. o Include any previous HTML file at the TOP of your file o Include an SSI command to display the "last modified" date of the mailer.html file.

Reference no: EM13355273

Questions Cloud

On april 1 of the current year econ ltd ordered maps from a : on april 1 of the current year econ ltd. ordered maps from a foreign supplier for 500000 units of foreign currency
Golden bells inc is a foreign subsidiary of northern bells : golden bells inc. is a foreign subsidiary of northern bells ltd. a canadian company.nbsp northern bells had purchased
Questionnbspwise owls an nfpo began operations at the : questionnbspwise owls an nfpo began operations at the beginning of 20x1 to provide free tutoring and homework
Questionnbspcomputer-aided design is one of the techniques : questionnbspcomputer-aided design is one of the techniques used by regal marine in the manufacturing of boats. with the
Program obtaining the new scriptdownload and save the : program obtaining the new scriptdownload and save the attached comment cgi mailer script form-mail2.pl to your servers
Question 1 capital expenditure decisions and investment : question 1 capital expenditure decisions and investment criteria - morten ltdin recent years morten ltd a company that
Questionnbspnbspthe rohr companys old equipment for making : questionnbspnbspthe rohr companys old equipment for making subassemblies is worn out. the company is considering two
Question explain and show hownbspyou would sythesise the : question explain and show hownbspyou would sythesise the following compounds starting with benzene or toluene and any
Finance questions1 compute the present value of a : finance questions1. compute the present value of a two-period annuity of 1 per period if the discount rate is 10

Reviews

Write a Review

JAVA Programming Questions & Answers

  Cognitive-based approaches to understanding motivation

Compare and contrast the need-based and cognitive-based approaches to understanding motivation?

  Implement avl tree

Implement AVL trees that allows both iterative traversal and recursive traversal.

  Object from question 1 manage its display

Write a Java statement to have the object from question 1 manage its display area by dividing it into 3 rows which have 4 columns each.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Explain calculating average asdouble

EnhancedTestScoreApp.javacompiles, Uses += onscoreCountandscoreTotalfields, UsesMathclass methods to track minimum and maximum scores, Displays minimum and maximum scores at end, ChangedscoreTotaltoint, CastscoreCountandscoreTotaltodoublebefore calcu..

  Method named isallvowels that returns

Write a method named isAllVowels that returns whether a String consists entirely of vowels (a, e, i, o, or u, case-insensitively). If every character of the String is a vowel, your method should return true. If any character of the String is a non-vo..

  Java program that prompts the user to input an integer

Write a Java program that prompts the user to input an integer and then outputs both the individual digits of the number and the sum of the digits.

  Java program to store temperatures in two-dimensional array

Write the Java program which uses two-dimensional array to store highest and lowest temperatures for each month of the year. Program must output average high,average low,

  Design a boolean function named isprime,

A prime number is a number that is only evenly divisible by itself and 1. For example, the number 5 is prime because it can only be evenly divided by 1 and 5. The number 6, however, is not prime because it can be divided evenly by 1, 2, 3, and 6. Des..

  Write the code with comment and output resultinterface and

write the code with comment and output resultinterface and polymorphismimplement a class quiz that implements the

  What was in mind of the coder in each part of the code

Need a video that goes through all this java code - as if it was a tutorial showing it line by line - and explain in detail the structure of it all as if you code it yourself.

  Give at least one constructor without any parameter

We learned as popular Set implementation. Write own TreeSet class that implements following interface: You are to give at least one constructor without any parameter.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd