2024-10-10
This commit is contained in:
2
web/include/set_post_key.php
Normal file
2
web/include/set_post_key.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<?php $_SESSION[$OJ_NAME.'_'.'postkey']=strtoupper(substr(MD5($_SESSION[$OJ_NAME.'_'.'user_id'].rand(0,9999999)),0,10));?>
|
||||
<input type=hidden name="postkey" value="<?php echo $_SESSION[$OJ_NAME.'_'.'postkey']?>">
|
||||
Reference in New Issue
Block a user