「上傳檔案櫃」修訂間的差異
跳至導覽
跳至搜尋
(新頁面: 分類:LiteSite ===三程式=== ====index.php==== #new login; #include 'theme.php' #echo $html1; #logon(); #if(驗證不過){echo $nowMsg;}<br/>else{跑上傳程式;} #echo $html1;) |
|||
| 第1行: | 第1行: | ||
[[分類:LiteSite]] | [[分類:LiteSite]] | ||
===三程式=== | ===三程式=== | ||
| − | ====index.php==== | + | ====index.php與admin.php==== |
| + | #include 'common.php'; | ||
| + | #include 'constant.php'; | ||
| + | #錯誤訊息不同 | ||
| + | #include 'login.php'; | ||
#new login; | #new login; | ||
| − | #include 'theme.php' | + | #include 'theme.php'; |
| − | |||
| − | |||
| − | |||
#echo $html1; | #echo $html1; | ||
| + | #指定認證表並 logon(); | ||
| + | #if(驗證不過){echo 錯誤訊息;}<br/>else{<br/>跑上傳程式;<br/>echo showDir($admin,$root);<br/>} | ||
| + | #echo $html2; | ||
於 2018年11月27日 (二) 20:07 的修訂
三程式
index.php與admin.php
- include 'common.php';
- include 'constant.php';
- 錯誤訊息不同
- include 'login.php';
- new login;
- include 'theme.php';
- echo $html1;
- 指定認證表並 logon();
- if(驗證不過){echo 錯誤訊息;}
else{
跑上傳程式;
echo showDir($admin,$root);
} - echo $html2;