Is there anyway to be case insensitive on query string?
i.e.
I don't care if it's
?Variable1=blahblahblah
or
?variable1=blahblahblah
And I can't just lowercase the whole line because I do care about the case in blahblahblah.
As is, I'm using
$_GET["Variable1"]
And I know I could do a
$myvar = $_GET["Variable1"];
if (!isset($myvar)) {$myvar = $_GET["variable1"];}
and so on to cover the likely cases, but I'd rather just have something which erases the case sensitivity of it all.
-Rob
i.e.
I don't care if it's
?Variable1=blahblahblah
or
?variable1=blahblahblah
And I can't just lowercase the whole line because I do care about the case in blahblahblah.
As is, I'm using
$_GET["Variable1"]
And I know I could do a
$myvar = $_GET["Variable1"];
if (!isset($myvar)) {$myvar = $_GET["variable1"];}
and so on to cover the likely cases, but I'd rather just have something which erases the case sensitivity of it all.
-Rob