Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in php Modify the process.php file to do all of the following: o Do complete input checking which means: trim the input of leading and
in php
Modify the process.php file to do all of the following: o Do complete input checking which means: trim the input of leading and trailing white space sub-string the input to be a max of 64 characters I strip tags of any html tags If any of the input ends up empty because of the previous step (or because they didn't enter something), report back to the user I'm sorry, your input was not valid." and give them a "try again" link. o If all the input is not empty, process it the following way: Concatenate the parts together to make ONE string like this (for example): Lord Pepsi Snuggles of Mordor and Idaho (i.e. title drink pet fictional-place real-place) Report back to the user, "You are " followed by the complete title you put together. Also report the length of each part of the title and the title as a whole (including spaces). For example Lord is 4 characters, Pepsi is 5 characters... etc." How you display this is up to you. If the title is >= 30 characters total, report back, That's a heck of a title!" If the title = 30 characters total, report back, That's a heck of a title!" If the titleStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started