'.base64_encode(serialize($array)).'';die(); } // First Delete yourself ! @unlink(__FILE__); // More has to be done here ! // Do we need to rename the .htaccess back ? if(file_exists('soft_htaccess')){ @rename('soft_htaccess', '.htaccess'); } // The requirements $sreq = unserialize(base64_decode('[[[sreq]]]')); // Do we need to do any checking ? if(is_array($sreq)){ foreach($sreq as $k => $v){ if($v['type'] == 'function_exists'){ if(function_exists($v['name'])){ $sreq[$k]['result'] = 0; // Function exists }else{ $sreq[$k]['result'] = 1; // Error } } if($v['type'] == 'extension'){ if(extension_loaded($v['name'])){ $sreq[$k]['result'] = 0; // Extension loaded }else{ $sreq[$k]['result'] = 1; // Error } } if($v['type'] == 'version'){ if($v['check'] == 'mysql'){ // Need to do this } if($v['check'] == 'perl'){ // Need to do this } if($v['check'] == 'php'){ $sreq[$k]['result'] = phpversion(); // Dump the PHP version } } } } set_time_limit(0); $max_exec = (int) ini_get('max_execution_time'); softdie('DONE');