I need help with exam for Advanced PHP class. There are 4 small projects in the exam.
Exam description goes like this:
For all 4 problems, you must implement the following "best practices":
1) Set the directive "magic_quotes_gpc" in your [url removed, login to view] file to 'Off'.
2) Use the PDO prepare statement and bind variables for all database queries
that contain values input by the application user.
3) Output to the database should still be escaped to prevent problems with bad
string values, etc.
4) Any output sent to the browser should be filtered to prevent malicious users
from sending HTML or PHP tags to the browser.
If you interested, I will send more details.
I need it to be done before the end of the day.