PHP to detect web server

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
suresh_2220
Forum Newbie
Posts: 23
Joined: Mon May 12, 2008 3:13 pm

PHP to detect web server

Post by suresh_2220 »

Hi,
Does any one know the php function to detect the web server(apache/IIS) that the server using.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: PHP to detect web server

Post by VladSun »

$_SERVER['SERVER_SIGNATURE']
There are 10 types of people in this world, those who understand binary and those who don't
Post Reply