Thanks for taking a look. Here's are three files:
confirm.php is the page where the customer reviews their order before clicking "Place Order"
checkout_success.php is the success page when paying by credit card
pp_checkout_success.php is the success page when paying with PayPal
The server runs Apache with PHP Version 5.2.11