<?php
global $is_apache, $is_IIS;
if ( $is_apache ) {
echo "web server is running Apache";
}elseif ( $is_IIS ) {
echo "web server is running IIS";
}
?>
Advertisements