Hi there,
How can I ignore case sensitivity when people type in letters and get redirected through this script:
<?php
if($_GET['username'] == "BBY"){
header("Location: http://www.x.ca"); }
elseif($_GET['username'] == "RS"){
header("Location: http://www.x2.ca"); }
elseif($_GET['username'] == "WM"){
header("Location: http://www.x3"); }
elseif($_GET['username'] == "RP"){
header("Location: http://www.x4.ca"); }
elseif($_GET['username'] == "SM"){
header("Location: http://www.x5.ca"); }
else {
header("Location: ../portal_failedattempt");
}
exit();
?>
Thank you! :)