function getPage_name in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7
1 call to getPage_name()
File
- ./
mo_saml_visualTour.php, line 26
Code
function getPage_name() {
$link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$exploded = explode('/', $link);
$l_url = end($exploded);
$l_url = multiexplode(array(
"?",
"%",
"#",
":",
"=",
), $l_url);
$f_url = $l_url[0];
return $f_url;
}