Complete the weekly labs based on the following:
- Write the code for each lab assignment using a text editor such as Notepad or Notepad++ saving the files using a .php extension.
- The lab is to be submitted in a single zip file in the online course shell, which must contain all .php files, along with any additional files that may be necessary for your project to run (e.g., text files).
- Any and all written answers must be entered into the online course shell with the submission of the attached lab assignment.
A palindrome is a word or phrase that is identical forward or back-ward, such as the word â€œracecar.â€ A standard palindrome is similar to a perfect palindrome, except that spaces and punctuation are ignored in
a standard palindrome. For example, â€œMadam, Iâ€™m Adamâ€ is a standard palindrome because the characters are identical forward or backward,provided you remove the spaces and punctuation marks. Write a script
that checks words or phrases stored in two separate string variables to determine if they are a perfect palindrome. If you feel ambitious, see if you can modify the program to check for standard palindromes. Save the perfect palindrome script as PerfectPalindrome.php and thestandard palindrome script as StandardPalindrome.php.