cloud-nginx-container/configs/phpinfo.php
2023-04-11 21:24:39 -07:00

13 lines
264 B
PHP

<?php
session_start();
echo shell_exec("whoami");
if ( !isset($_SESSION["number"]) ) {
$_SESSION["number"] = 1;
echo "New Session";
echo $_SESSION["number"];
}else {
$_SESSION["number"] = $_SESSION["number"] + 1;
echo $_SESSION["number"];
}
phpinfo();
?>