Round first Practical Assignment
1. Create following registration form :
Enter name:                                                      *
                                                  *
Enter password :
                                                  *
Retype password:
                                                                  *
Enter Mobile :                  BCA         MSc. CA
Select Course :
                         Travelling      Sports
Select Hobbies:                                                          Computers      Art &
                                                                      Music
Address:                     Select
                            Reset
City:
   Submit
    Do following validations:
        a. All fields must be filled.
        b. Length of password must be minimum of 8 characters
        c. Password and retype password should be same
        d. Length of mobile number must be 10 digits
        e. Enter only digits in mobile number
        f. Must have to select at least one hobby
        g. Value of city in combo box should not be select.
After validations display user data in tabular format in second page.
        2. Write a PHP script to input data into the textbox, count the number of digits and
           display result appropriately.
        3. Write a PHP script to accept a sentence into the textbox, count the number of
           words and display result appropriately.
   4. Write a PHP script for login page with appropriate validations.
   5. Write a program that keeps track of how many times a visitor has loaded the
      page (using session or cookies).
   6. Create a login page. If the username is your rollno and password is “mkics”
      then redirect to another page welcoming the user with his/her rollno other wise
      give proper message on the login page. Also give a logout option in welcome
      page and as an when user clicks logout button redirect back to login page.
      [Write the script using SESSION and COOKIE]
. Save your HTML files in a folder named
[as a candidate Name]".
. Compress the folder into a ZIP file.
Response:
. Name the document       duplex _Responses [ Name ]
Submission:
Email your completed pre-work to 24 th April 2024 by
. Attach the ZIP file containing your code.