Unit 1:
1. Explain client-side data validation used in PHP.
2. Write a script in PHP to get the user agent.
3. How will you handle the HTML tags in user input?
4. Explain the concept of dumping a form's data all at once.
5. Explain persisting user data in data validation.
6. Explain PHP’s server variables in detail.
7. What is data validation? Create a form to check data validation for mobile
number.
8. What is Form?
9. What is data validation? Create a form to check data validation for numeric
numbers.
10. Explain working of PHP Browser.
11. Explain the handling of form data with custom Array with suitable example.
12. Write a note on PHP's Server variables.
Unit 2:
1. How will you create object in PHP? Explain with example.
2. Explain session and cookies with suitable example.
3. Explain HTTP authentication with PHP with suitable example.
4. Describe introspection in detail with example.
5. Write a note on SSL.
6. What is Introspection?
7. Write a program in PHP to use object, method and class.
8. What is session? Write a program to create session in PHP.
9. Explain SSL in PHP.
10. Explain Cookies in detail.
11. Explain the complete procedure of processing forms.
12. What is Serialization? Explain with example.
13. Write note on setting response headers.
14. Explain the following: i) Cookies ii) SSL
15. Explain server variables in detail.
Unit 3:
1. Write a script in PHP to delete a record from a database table.
2. Write a procedure to execute SQL queries in PHP.
3. Explain MySQL database basics in detail.
4. Explain database manipulation in PHP with example.
5. Explain relational databases in PHP.
6. Explain the complete procedure of connecting a database with PHP.
7. What is MySQL?
8. Write PHP code to display records from a student table.
9. Explain advanced database techniques.
10. Explain closing connection to database.
11. Write PHP code to insert records into Student table (assume suitable fields).
12. Explain connection string in MySQL.
Unit 4:
1. Explain working with FTP in brief.
2. Write a script in PHP for Hit Counter using Session.
3. Write a PHP code to set cookies for username and password.
4. Write a procedure to delete a file using FTP.
5. Explain removing directories with FTP.
6. What is FTP? Write a procedure for downloading using FTP.
7. Explain how to add attachments to an email in PHP.
8. Explain Shell Commands in PHP.
9. What are Cookies? Write a procedure for setting cookies.
10. Write PHP code to upload a file using FTP.
11. How will you create and remove directories using FTP?
12. Explain Shell Commands in detail.
13. How will you write Hit Counter using Sessions? Explain.
14. How will you set expiry of Cookies? Explain with example.