How to detect server Control Panel type like cpanel and directadmin for using them api's: that's enough for me if it just detects cpanel, directadmin, kloxo and plesk
$panel = ???????????;
switch($panel){
case 'cpanel':
$xmlapi = new xmlapi($ip);
//...
break;
case 'directadmin':
$sock = new HTTPSocket;
//...
break;
.
.
.
}
how to detect web hosting control panel type with php
code :
code2 :
how to detect web hosting control panel type with php preview