Tuesday, March 31, 2009

Ch.6 Cont.

Things Learned:

We remove the HTTP script and made it's own separate file so we can include it in more than one script
This adds more security to the site and prevents people to directly accessing the page through used of a bookmark
Human moderation improves integrity on a site.
double-hyphen(--) or number sign(#) - is used to comment things out in SQL 
SQL injection - form data is used to change the operation of an SQL query
trim() - get ride of leading and trailing spaces in form data
mysqli_real_escape_string() = converts dangerous characters into an escaped format
You can default values in sql tables.
is_numeric() - making sure the value enter is numeric


No comments:

Post a Comment