Change line 10 to:
$_SESSION["PromoCode"] = "".((isset($_POST["txtPromoCode"]))?strtolower($_POST["txtPromoCode"]):"") ."";
That will store the promo code as lower case so you just have to make all of your actual codes lower case and that will make it effectively not case sensitive.