HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/itpartnership/php/test.php
<html>

<head>
</head>

<body>Please wait...<br><br>
for ($i = 0; $i < 10000000; $i++);
<br><br>
<?php
/**
 * Simple function to replicate PHP 5 behaviour
 */
function microtime_float()
{
   list($usec, $sec) = explode(" ", microtime());
   return ((float)$usec + (float)$sec);
}

$time_start = microtime_float();

for ($i = 0; $i <= 10000000; $i++);

$time_end = microtime_float();
$time = $time_end - $time_start;

echo "Time taken: $time seconds\n";
echo "<br><br>";



//setcookie("TestCookie", "123");

//echo $abc;

$ip_address = $_SERVER['REMOTE_ADDR'];

echo 'User IP Address - '.$ip_address."<br><br>"; 

if ($ip_address == "5.101.172.199" or $ip_address == "5.101.172.196" or $ip_address == "88.98.246.98" or $ip_address == "80.229.231.82")
{
  echo phpinfo();
}
else
{ 
  echo "Access denied";
}

?>
</body>

</html>