* @package AgileBill * @version 1.4.93 */ if(@$do == 'phpinfo' || @$_GET['do'] == 'phpinfo' || @$HTTP_GET_VARS['do'] == 'phpinfo'){ phpinfo(); exit; } error_reporting(0); $disabled_functions = ini_get('disable_functions'); ob_start(); phpinfo(); $php_info .= ob_get_contents(); ob_end_clean(); ############################################################### # GD if (extension_loaded('gd')) { $gd['font'] = "FFFFFF"; $gd['back'] = "009900"; $gd['text'] = "OK"; } else { $gd['font'] = "FFFFFF"; $gd['back'] = "990000"; $gd['text'] = "Failed."; } ############################################################### # SSL $sslx = false; if ( function_exists('curl_init') && !eregi('curl_init', $disabled_functions) && $curl_version = curl_version()) { if (eregi('openssl', @$curl_version['ssl_version'] )) { $sslx = true; } } else { if ( phpversion() >= '4.3.0' && function_exists("fsockopen") && !eregi('fsockopen', $disabled_functions) && function_exists("openssl_public_decrypt")) $sslx = true; } if ($sslx == true) { $ssl['font'] = "FFFFFF"; $ssl['back'] = "009900"; $ssl['text'] = "OK"; } else { $ssl['font'] = "FFFFFF"; $ssl['back'] = "990000"; $ssl['text'] = "Failed!"; } ############################################################### # PHP if(phpversion() >= '5.0' ) { $php['font'] = "FFFFFF"; $php['back'] = "009900"; $php['text'] = "OK"; } else { $php['font'] = "FFFFFF"; $php['back'] = "990000"; $php['text'] = "Failed! (PHP 5.0 or later is required)"; } ############################################################### # MYSQL if(is_callable("mysql_connect") && is_callable("mysql_get_client_info") && mysql_get_client_info() >= 4) { $mysql['font'] = "FFFFFF"; $mysql['back'] = "009900"; $mysql['text'] = "OK"; } else { $mysql['font'] = "FFFFFF"; $mysql['back'] = "990000"; $mysql['text'] = "Failed! (MySQL 4.0 or later is required)"; } ############################################################### # XML if(is_callable("xml_parser_create")) { $xml['font'] = "FFFFFF"; $xml['back'] = "009900"; $xml['text'] = "OK"; } else { $xml['font'] = "FFFFFF"; $xml['back'] = "990000"; $xml['text'] = "Failed!"; } ############################################################### # IMAP if(is_callable("imap_open")) { $imap['font'] = "FFFFFF"; $imap['back'] = "009900"; $imap['text'] = "OK"; } else { $imap['font'] = "FFFFFF"; $imap['back'] = "990000"; $imap['text'] = "Failed!"; } ?> AgileBill Compatibility Test
Absolute Requirements
"> "> ">
MySQL ">
PHP ">
XML ">


Optional Requirements
"> ">
SSL Connectivity ">
GD ">