'80' ? $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] : $_SERVER['SERVER_NAME']; return $pageURL . '/ods/webid_demo.php'; } $_webid = isset ($_REQUEST['webid']) ? $_REQUEST['webid'] : ''; $_error = isset ($_REQUEST['error']) ? $_REQUEST['error'] : ''; $_action = isset ($_REQUEST['go']) ? $_REQUEST['go'] : ''; if (($_webid == '') && ($_error == '')) { if ($_action <> '') { if ($_SERVER['HTTPS'] <> 'on') { $_error = 'No certificate'; } else { $_callback = apiURL(); $_url = sprintf ('https://id.myopenlink.net/ods/webid_verify.vsp?callback=%s', urlencode($_callback)); header (sprintf ('Location: %s', $_url)); return; } } } ?>