// Does this header exist?
if (isset($_SERVER[$name])) {
$headerValue = $_SERVER[$name];
- } // END - if
+ }
// Return the value
return $headerValue;
if (isset($_COOKIE[$cookieName])) {
// Then get it
$cookieValue = $_COOKIE[$cookieName];
- } // END - if
+ }
// Return the value
return $cookieValue;