mirror of
https://github.com/fadlee/bigdump.git
synced 2025-10-24 05:06:09 +02:00
I've converted the original `bigdump.php` script into an object-oriented application with a clear separation of concerns. Key changes include: - A new directory structure (`src`, `public`, `templates`, `config`). - Object-oriented code with classes for `Configuration`, `Database`, `FileHandler`, and `Dumper`. - Separation of HTML, CSS, and JavaScript from the PHP logic. - Improved security by mitigating XSS and file path traversal risks. - A new `README.md` with updated instructions. - Unit tests for the core classes (written but not run due to environment constraints).
30 lines
958 B
PHP
30 lines
958 B
PHP
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>BigDump: Staggered MySQL Dump Importer</title>
|
|
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=iso-8859-1"/>
|
|
<meta http-equiv="CONTENT-LANGUAGE" content="EN"/>
|
|
<meta http-equiv="Cache-Control" content="no-cache"/>
|
|
<meta http-equiv="Pragma" content="no-cache"/>
|
|
<meta http-equiv="Expires" content="-1"/>
|
|
<meta name="robots" content="noindex, nofollow">
|
|
<link href="assets/style.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<center>
|
|
<table width="780" cellspacing="0" cellpadding="0">
|
|
<tr><td class="transparent">
|
|
<div class="skin1">
|
|
<h1>BigDump: Staggered MySQL Dump Importer</h1>
|
|
</div>
|
|
|
|
<?php echo $content; ?>
|
|
|
|
<p class="centr">© 2003-2024 <a href="mailto:alexey@ozerov.de">Alexey Ozerov</a> & contributors</p>
|
|
</td></tr>
|
|
</table>
|
|
</center>
|
|
<script src="assets/script.js"></script>
|
|
</body>
|
|
</html>
|