$err=0; $warn=0; ini_set('max_execution_time',0); @set_time_limit(0); ini_set('auto_detect_line_endings',1); restore_include_path(); session_start(); if($_GET['restart']){ unset($_SESSION['ini']); header("Location: ".$PHP_SELF); exit; } /* * mysql < dump.sql */ function file_to_db($filename){ if(!$lines=file($filename)){ echo "
$query"; return 0; } $query=''; }else{ $query=$query.$l; } } return 1; } ?>
************************************************ ** ** ** Please, help us to promote phpmyticket by: ** ** ** ** - testing and using it! ** ** - finding (and even fixing!) bugs ** ** - linking to phpmyticket.com ** ** - speaking to your friends about it ** ** - providing feedback ** ** - providing any other help and support ** ** ** ************************************************"; session_destroy(); exit; }else{ echo "