用这个程序可以实现简单的数据导出(生成的脚本可直接在phpmyadmin执行)。进一步的功能还可以慢慢扩展。当然不要用来盗用别人机密的冬冬了。
其中解析的数据类型还不全,只是集中简单的常用类型。如果那位仁兄,发现了其他不适用的类型,请告诉我mailto:woaini4651@yahoo.com.cn。
![]() |
index.php
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>数据库备份</title>
<style type="text/css">
.borderoff{ border-style:none; background-color:#F3F3F3}
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<tr valign="top">
<td height="378"><br>
<form action="cmd.php" method="post" name="backup" target="_blank" id="backup">
<table width="500" border="0" cellspacing="1" cellpadding="4" align="center">
<tr>
<td colspan="2" align="center">数据库备份</td>
</tr>
<tr bgcolor="#F3F3F3">
<td width="166" align="right"> 服务器名:</td>
<td width="313"><input name="hostname" type="text" class="borderoff" value="localhost" size="35" maxlength="50">
</td>
</tr>
