Update src/index.php
This commit is contained in:
@@ -2,4 +2,11 @@
|
||||
<?php
|
||||
echo '<h1>Hello World</h1><BR>';
|
||||
echo 'Version: 20240221-1537<BR>';
|
||||
|
||||
// Creating a variable to store the
|
||||
// server address
|
||||
$ip_server = $_SERVER['SERVER_ADDR'];
|
||||
|
||||
// Printing the stored address
|
||||
echo "Server IP Address is: $ip_server";
|
||||
?>
|
||||
Reference in New Issue
Block a user