30) $config['max_execution_time']=30; $config['upload_max_filesize']=get_cfg_var('upload_max_filesize'); $config['safe_mode']=get_cfg_var('safe_mode'); $config['magic_quotes_gpc']=get_magic_quotes_gpc(); $config['disabled']=get_cfg_var('disable_functions'); $config['phpextensions']=implode(', ',get_loaded_extensions()); $m=trim(str_replace('M','',ini_get('memory_limit'))); // fallback if ini_get doesn't work if (intval($m) == 0) $m=trim(str_replace('M','',get_cfg_var('memory_limit'))); $config['php_ram']=$m; //Ist zlib moeglich? $p1=explode(', ',$config['phpextensions']); $p2=explode(',',str_replace(' ','',$config['disabled'])); //Buggy PHP-Version ? $p3=explode('.',PHP_VERSION); $buggy=( $p3[0] == 4 && $p3[1] == 3 && $p3[2] < 3 ); $config['zlib']=( !$buggy ) && ( in_array('zlib',$p1) && ( !in_array('gzopen',$p2) || !in_array('gzwrite',$p2) || !in_array('gzgets',$p2) || !in_array('gzseek',$p2) || !in_array('gztell',$p2) ) ); //Tuning-Ecke $config['tuning_add']=1.1; $config['tuning_sub']=0.9; $config['time_buffer']=0.75; //max_zeit=$config['max_execution_time']*$config['time_buffer'] $config['perlspeed']=10000; //Anzahl der Datensaetze, die in einem Rutsch gelesen werden //Bausteine $config['homepage']='http://mysqldumper.net'; $languagepacks_ref='http://forum.mysqldumper.de/downloads.php?cat=9'; $stylepacks_ref='http://forum.mysqldumper.de/downloads.php?cat=3'; $nl="\n"; $mysql_commentstring='--'; //config-Variablen, die nicht gesichert werden sollen $config_dontsave=Array( 'homepage', 'max_execution_time', 'safe_mode', 'magic_quotes_gpc', 'disabled', 'phpextensions', 'php_ram', 'zlib', 'tuning_add', 'tuning_sub', 'time_buffer', 'perlspeed', 'cron_configurationfile', 'dbconnection', 'version', 'mysql_possible_character_sets', 'mysql_standard_character_set', 'config_file', 'upload_max_filesize', 'mysql_can_change_encoding', 'cron_samedb', 'paths', 'files' ); // Automatisches entfernen von Slashes und Leerzeichen vorn und hinten abschneiden if (1==get_magic_quotes_gpc()) { $_POST=stripslashes_deep($_POST); $_GET=stripslashes_deep($_GET); } $_POST=trim_deep($_POST); $_GET=trim_deep($_GET); function v($t) { echo '
'; if (is_array($t) || is_object($t)) { echo '
';
		print_r($t);
		echo '
'; } else echo $t; } function getServerProtocol() { return ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://'; } ?>