?? database_executesql.php
字號:
<?php
defined('IN_PHPCMS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
<tr>
<td></td>
</tr>
</table>
<?=$menu?>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
<tr>
<td></td>
</tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th>執行SQL</th>
</tr>
<form name="myform" method="post" action="?mod=<?=$mod?>&file=<?=$file?>&action=executesql&operation=sql">
<tr>
<td height="25" align="center" class="tablerow" >請把要執行的SQL語句粘貼到下面的文本框</td>
</tr>
<tr>
<td height="40" align="center" class="tablerow" ><textarea name="sql" cols="100" rows="16"></textarea></td>
</tr>
<tr>
<td height="40" align="center" class="tablerow" > <input type="submit" name="submit" value=" 執行SQL "></td>
</tr>
</form>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
<tr>
<td></td>
</tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th>上傳SQL文件并立即執行</th>
</tr>
<form name="upload" method="post" action="?mod=<?=$mod?>&file=<?=$file?>&action=executesql&operation=file" enctype="multipart/form-data">
<tr>
<td height="30" class="tablerow" align="center">
上傳SQL文件:
<input name="uploadfile" type="file" size="25">
<input type="hidden" name="MAX_FILE_SIZE" value="4096000">
<input type="submit" name="submit" value=" 上傳并執行 "><br>只允許上傳SQL格式的文件,上傳成功后文件中的SQL語句將被立即執行
</td>
</tr>
</form>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -