"; echo ""; echo ""; echo "This is a php demo."; echo ""; echo ""; echo "
"; // Creating a variable to store the // server address $ip_server = $_SERVER['SERVER_ADDR']; echo "Hi. This server has IP Address $ip_server."; echo "
"; echo 'You\'re requesting this page from IP address: '.$_SERVER['REMOTE_ADDR']; echo "
"; echo "

"; $date = date('F d h:i'); echo "The time is now $date"; echo "

"; $image = ''; // Placeholder for the image path if ($hour >= 0 && $hour < 17) { // Before 5:00 $image = '../images/coffee.jpg'; } else { // After $image = '../images/tea.jpg'; } echo ""; echo ""; ?>