apache web server version check php function example - apache_get_version()
apache-web-server-version-check-php-function-example.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>apache web server version check php function example - apache_get_version()</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Md Iqbal Hosan">
<meta name="title" content="apache web server version check php function example - apache_get_version()">
<meta name="keywords" content="php, example, code, array, function, apache, string, apache_get_version">
<meta name="description" content="apache web server version check php function example - apache_get_version()">
<style>
h2, h4{background:orange; color:#000086;}
h2{ padding:3px; margin:3px; font-size:22px;}
h4{ padding:2px; margin:2px; font-size:19px;}
p{padding:2px; margin:2px; color:#0099FD;}
body{ background:#FFFFFB;}
</style>
</head>
<body>
<h2>apache web server version check php function example - apache_get_version()</h2>
<pre>
<?php
/*
-------------------------------------------------------------------------------
let say we want to know the version of apache web server by using php function
we can do that by using apache_get_version
-------------------------------------------------------------------------------
*/
echo "<h4>Apache web server version :</h4>";
print apache_get_version();
?>
</pre>
</body>
</html>

No comments:
Post a Comment
leave your comments here..