cloud-apache-container/configs/phpinfo.php

13 lines
264 B
PHP
Raw Normal View History

2023-04-05 14:53:20 +00:00
<?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();
?>