Created
May 16, 2021 06:05
-
-
Save serverok/8c504205ae0357e0c6488eab880a77bf to your computer and use it in GitHub Desktop.
This file contains 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 | |
# Author: Yujin Boby | |
# Web: https://serverok.in | |
session_start(); | |
if (isset($_SESSION["serverok_test"])) { | |
$_SESSION["serverok_test"] += 1; | |
} else { | |
$_SESSION["serverok_test"] = 1; | |
} | |
echo "You have reloaded this page " . $_SESSION["serverok_test"] . " times"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment