11.
Which PHP function is used to generate a random CSRF token for form submissions?
12.
Which HTTP header instructs web browsers to limit the scope of cookies to a specific domain?
13.
Which of the following is a best practice for preventing SQL Injection when executing SQL queries in PHP?
14.
What is the purpose of using HTTPS (HTTP Secure) in web applications?
15.
Which PHP function is commonly used to validate email addresses submitted through a form?
16.
Which of the following is NOT a common security vulnerability associated with file uploads in web applications?
17.
What is the purpose of input validation in web forms?
18.
Which PHP function is commonly used to check if a form field is empty?
19.
What is the purpose of session management in web applications?
20.
Which of the following HTTP methods is considered safe and idempotent, making it suitable for form submissions?