?? upload.php
字號(hào):
<?php defined('IN_PHPCMS') or exit('Access Denied');include admintpl('header');?><body><script language="javascript" type="text/javascript"><!--function checkform(){ if(document.getElementById("uploadfile").value=='') { alert("請(qǐng)選擇要上傳的文件!"); return false;}}//--></script><table cellpadding="0" cellspacing="0" border="0" width="100%" height="5"> <tr> <td ></td> </tr></table><form name="upload" method="post" action="?mod=<?= $mod?>&file=upload&url=<?=$url?>&extid=<?=$extid?>&action=upload" enctype="multipart/form-data" onSubmit="return checkform();"><table cellpadding="2" cellspacing="1" class="tableborder"> <tr> <th>文件上傳</th> </tr> <tr> <td class="tablerow" height="30"> 選擇:<input name="uploadfile" type="file" id="uploadfile" size="20" /> <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_CHA['maxfilesize']; ?>" /> <input type="hidden" name="channelid" value="<?php echo $channelid; ?>" /> <input type="submit" name="submit" value=" 上傳 "> </td> </tr></table></form></body></html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -