30 likes | 160 Views
Chapter 16. Securing Your Code. Cross Site Scripting. http://cscdb.nku.edu/csc301/frank/pasha9/estimates.html echo "myJob (fixed): ", htmlentities($myJob), "<br />"; echo "myJob: ", $myJob, " </p><br>";. htmlentities. See Page 372
E N D
Chapter 16 Securing Your Code
Cross Site Scripting • http://cscdb.nku.edu/csc301/frank/pasha9/estimates.html echo "myJob (fixed): ", htmlentities($myJob), "<br />"; echo "myJob: ", $myJob, " </p>\n";
htmlentities • See Page 372 • “Entities are converted into output by the HTML client (web browser) and not considered part of the markup.