Entry
How can I write a web page (program) to check that does webserver support PHP, ASP and PERL ?
Feb 20th, 2008 22:54
dman, Dotan Cohen, Phil Whittaker, DUY DO PHAN, http://www.ttnr.org
I have not come across a clean, easy, all-in-one way of doing this,
however, you can do some interrogation of a specified webserver. If
you
use port 80 for example you can retrieve the header information which
commonly is stamped with the server details (and build - perl, php,
etc), other ports can also be used to gleen other information, telnet
header stamp etc. For an example site visit www.netcraft.com
just do this:
<?php
phpinfo();
?>