322
To really understand what’s going on, you’re going to have to get into a little
SQL. Below is part of the lookupCustomer.php script that is requested b
getCustomerInfo() when a phone number is entered into the Break neck
form... we’ve highlighted the line of SQL that asks the Break Neck server for a
customer based on the phone number entered into the web form.
SQL Inspector
Your job is to take this query, and then write in the special characters that
PROJECT: CHAOS asked you to type into the Break Neck
web form. Then, you’ll know exactly what’s being sent to the Break Neck
database... and maybe even get some ideas about what’s going on.
if (!$conn)
die(“Error connecting to MySQL: “ . mysql_error());
if (!mysql_select_db(“hea ...