Learning PHP and MySQL

12.8. Chapter 12 Questions

Question 12-1.

Add another column to the books table called published_date that stores a date in a PHP page.

Question 12-2.

What are the two major categories of security risks when working with user input?

Question 12-3.

Which function tells you whether the PHP interpreter has magic quotes turned on?

Question 12-4.

Which function prevents cross-site scripting attacks when used before displaying user-supplied input?

See the Appendix for the answers to these questions.

Категории