if (isset($_GET['token'])) {
$getdata = http_build_query(
array(
'token' => $_GET['token'],
)
);
$opts = array('http' =>
array(
'method' => 'GET',
'header' => "Authorization: Basic ".base64_encode("Site_enter:1Gkfygjgkfye")."\r\n"
)
);
$context = stream_context_create($opts);
$url = 'https://'.$_SERVER["HTTP_HOST"].'/fsvok_work/hs/initService/validationtoken?'.$getdata;
$result = json_decode(file_get_contents($url, false, $context), true);
if ( $result["status"] and $_GET['token'] != "") {
echo "";
echo file_get_contents('change_pass.php');
}
else {
echo "";
};
}
else {
echo "";
}
?>