2024-10-10
This commit is contained in:
13
web/include/check_get_key.php
Normal file
13
web/include/check_get_key.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
if ($_SESSION[$OJ_NAME.'_'.'getkey']!=$_GET['getkey']){
|
||||
?>
|
||||
<script language=javascript>
|
||||
history.go(-1);
|
||||
</script>
|
||||
<?php
|
||||
exit(1);
|
||||
}
|
||||
else{
|
||||
unset($_SESSION[$OJ_NAME.'_'.'getkey']);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user