cases for updates
This commit is contained in:
parent
cb5df93419
commit
88ba6d3514
11
update.php
11
update.php
@ -14,5 +14,14 @@ $_SESSION['lastName'] = $user['lastName'];
|
|||||||
$_SESSION['activated'] = $user['activated'];
|
$_SESSION['activated'] = $user['activated'];
|
||||||
$_SESSION['updated_at'] = $user['updated_at'];
|
$_SESSION['updated_at'] = $user['updated_at'];
|
||||||
|
|
||||||
echo '<Session newly validated. Going back to secure land! <meta http-equiv="refresh" content="1; URL=secure.php">';
|
if(isset($_GET['register'])) {
|
||||||
|
echo 'Session newly validated. Going back to secure land! <meta http-equiv="refresh" content="0; URL=secure.php">';
|
||||||
|
}if(isset($_GET['profile'])) {
|
||||||
|
echo 'Session newly validated. Going back to profile land! <meta http-equiv="refresh" content="0; URL=profile.php">';
|
||||||
|
}if(isset($_GET['rawdata'])) {
|
||||||
|
echo 'Session newly validated. Going back to secure land! <meta http-equiv="refresh" content="0; URL=rawdata.php">';
|
||||||
|
}else {
|
||||||
|
echo 'Session newly validated. I dont know where i shoudl go! Defaulting to secure! <meta http-equiv="refresh" content="0; URL=secure.php">';
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
x
Reference in New Issue
Block a user