> Ago lo que quiero cuando quiero # || || # # || || # >>> ANARQUIA 666 <<< # || || # # || || #################################################################### || \*======================================================================*/ error_reporting(E_ALL ^E_NOTICE ^E_WARNING); require("config.inc.php"); require("sys_/muweb_config.inc.php"); require_once('sys_/adodb/adodb.inc.php'); ob_start(); phpinfo(); $info = ob_get_contents(); ob_end_clean(); if(strpos($info, 'Zend Optimizer')){ $zend = 'YES'; }else{ $zend = 'NO'; $error = 1; } if (extension_loaded('zlib')){ $zlib = 'YES'; }else{ $zlib = 'NO'; $error = 1; } if (function_exists("gd_info")){ $gd2 = 'YES'; }else{ $gd2 = 'NO'; $error = 1; } if (extension_loaded('mssql')){ $mssql = 'YES'; }else{ $mssql = 'NO'; $error = 1; } if (in_array("mod_rewrite", apache_get_modules())){ $m_re = "YES"; }else{ $m_re = "NO"; $error = 1; } $install ='
MuWeb 0.9 Premium, Install Manager
'; if(!isset($_GET['next'])){ $install .='
Required Apache Mods
Availabile
GD Image Library
'.$gd2.'
Zend Optimizer
'.$zend.'
Zlib
'.$zlib.'
Mssql
'.$mssql.'
Mod_Rewrite
'.$m_re.'
'; if($error != 1){ $install .='
'; }else{ $install .='
Please enable the required mods from your apache folder / php.ini
'; } } switch ($_GET['next']){ case 1: if($muweb['connection_type'] == "ODBC"){ $db_primary = &ADONewConnection('odbc','date'); $connect_sql = $db_primary->Connect($muweb['db_name'],$muweb['db_user'],$muweb['db_password'],$muweb['db_host']); if(!$connect_sql){ $error = 1; $db = "NO"; }else{ $db = "YES"; } $db_secondary = &ADONewConnection('odbc','date'); $connect_sql = $db_secondary->Connect($muweb['db_name2'],$muweb['db_user'],$muweb['db_password'],$muweb['db_host']); if(!$connect_sql){ $error = 1; $db2 = "NO"; }else{ $db2 = "YES"; } }elseif($muweb['connection_type'] == "MSSQL"){ $db_primary = &ADONewConnection('mssql'); $connect_sql = $db_primary->Connect($muweb['db_host'],$muweb['db_user'],$muweb['db_password'],$muweb['db_name']); if(!$connect_sql){ $error = 1; $db = "NO"; }else{ $db = "YES"; } $db_secondary = &ADONewConnection('mssql'); $connect_sql = $db_secondary->Connect($muweb['db_host'],$muweb['db_user'],$muweb['db_password'],$muweb['db_name2']); if(!$connect_sql){ $error = 1; $db2 = "NO"; }else{ $db2 = "YES"; } } if($muweb['debug'] == 1){ $db_primary->debug = true; $db_secondary->debug = true; } $install .='