Created
October 16, 2021 15:24
-
-
Save Octagon-simon/ea4aabf4a6edf9f2bf86ad78f1b3f8db to your computer and use it in GitHub Desktop.
You can make it last for 2 minutes or 1 minute
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //You can make it last for 2 minutes or 1 minute | |
| $expire = gmdate(strtotime('+3 minutes', time())); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment