[Phpmyadmin-devel] help with server_software

Michal Čihař michal at cihar.com
Mon Jul 22 09:54:27 CEST 2013


Hi

Dne Fri, 19 Jul 2013 23:36:06 +0200
Mohamed Ashraf <mohamed.ashraf.213 at gmail.com> napsal(a):

> For the error reporting system I am trying to get some info onto the
> name of the server currently running. I am using the server signature
> to try and find the server and its version. I however have only apache
> so I was wondering if someone with nginx or IIS would run the
> following php script and reply with the output so that I am able to
> see the output of different server softwares so as to craft my regular
> expression.
> 
> <?php
> echo $_SERVER["SERVER_SOFTWARE"];
> echo "\n\n";
> echo $_SERVER["SERVER_SIGNATURE"];

For lighttpd it is:

SERVER_SOFTWARE: lighttpd/1.4.31
SERVER_SIGNATURE:

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130722/82b10dd6/attachment.sig>


More information about the Developers mailing list