PHP program to print the server protocol

bookmark

<?php
//PHP program to print the server protocol.

$ServerProtocol = $_SERVER['SERVER_PROTOCOL'];

printf("Server Protocol: %s<br>", $ServerProtocol);
?>


Output
Server Protocol: HTTP/1.1