NIT1204 Web Application and Server Management Assignment

Assignment Help Other Subject
Reference no: EM132456325

NIT1204 Web Application and Server Management - Laboratory Assignment, Victoria University, Australia

Task is about: How to use regular expressions, handle exceptions, and validate data.

Exercise - Modify the long version of the Registration application

In this exercise, you can modify and enhance the Registration application.

Open and test the application

1. Run the application that's stored in the ex_starts/ch15_ex1 directory.

2. Test this application by entering valid and invalid data. To test the credit card fields with valid data, you can use a Visa card with a number of 4111111111111111.

3. Open the index.php, validate.php, and register.php files for this application and review the code. Note that this code works like the short Registration application except that it gets more data from the user.

Modify the code

4. In the phone() and zip() methods of the Validate class, use the \d pattern instead of the [ [:digit:]] pattern.

5. In the password() method of the Validate class, modify the code so the password must be at least 8 characters long with at least one uppercase letter and one number. But don't require a lowercase letter or a special character.

6. Modify the index.php file so the Address, City, State, and Zip fields are optional. To do that, you can pass a third argument to the text method of the Validate class.

7. Add a Birth date field after the Phone number field that requires the user to enter a birth date in this format: mm/dd/yyyy. To get this to work properly, add a birthdate() method to the Validate class. This method should make sure that the birth date isn't a date in the future.

8. In the email() method of the Validate class, modify the code so it uses the filter_var() function with the INPUT_VALIDATE_EMAIL filter. (Remember that when you use this function, you don't include an input type like you do when you use the filter_input() function.) This makes the code much shorter. However, it also gives you less control over the error message that's displayed.

Attachment:- Web Application and Server Management Assignment Files.rar

Reference no: EM132456325

Questions Cloud

Pathways in disease development : Describing the experimental design used to address the goal/problem and list the major results from each approach.
Discuss the anthropometric design principle : Select a workstation where an anthropometric design principle was used or should be used. Characterize the user population. research a case study
Explain why the consumer utility is not maximised : Explain what MRS12 is (without referring to indifference curves.) Then, explain why the consumer's utility is not maximised at a point where MRS12 > p1/p2.
Explain the difference between errors and faults : Explain the difference between errors, faults, and failures. Give an example of an error that leads to a fault in the requirements; the design
NIT1204 Web Application and Server Management Assignment : NIT1204 Web Application and Server Management - Laboratory Assignment Help and Solution, Victoria University, Australia. Modify the Registration application
Normally use two antibodies sequentially : Immunostaining. Share with your peers your answer as to why, in immunostaining procedure for a specific antigen, do you normally use two antibodies sequentially
Discuss one of the osi layers and research it in-depth : Discuss one of the OSI Layers and research it in-depth,understanding of its operation can help a network security professional in the real world.
How double counting can be avoided when gdp is estimated : Contrast the views of of jeans-Baptiste Say and John maynard Keynes on the relationship between total income and tola spending I the economy?
Impact on environment and climate change : Connect the activity/product to its impact on the environment and climate change. What can people do to decrease the activity/product's impact on environment

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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