How to print the server protocol in PHP | PHP program
We will use $_SERVER['SERVER_PROTOCOL'] superglobal to get the server protocol and then print that on the webpage.
<?php
$ServerProtocol = $_SERVER['SERVER_PROTOCOL'];
printf("Server Protocol: %s<br>", $ServerProtocol);
?>


