Bước 1. Tạo thư mục thinhthay. Trong thư mục này, ta tạo thêm:
- 2 file: index và traloi
- thư mục: thayphan Bước 2. - Post đoạn mã sau vào file index:
Mã
<table border="1" width="100%">
<tr>
<td><font color="red"><b>Con:</b></font><form method="get" action="/thinhthay/traloi"><input type="text"
name="hoi" /><br /><input type="submit" value="Thỉnh thầy"></form></td>
</tr>
<tr>
<td><font color="red"><b>Thầy</b></font>: Thế con thích gì nào? </td>
</tr>
</table> - Post đoạn mã vào file traloi.
Mã <table border="1" width="100%">
<tr>
<td><font color="red"><b>Con:</b></font><form method="get" action="/thinhthay/traloi"><input type="text"
name="hoi" /><br /><input type="submit" value="Thỉnh thầy"></form></td>
</tr>
<tr>
<td>
<font color="red"><b>Bạn hỏi</b></font>:<font color="blue"> Hello thầy</font></td></tr>
<tr><td>
<font color="red"><b>Thầy phán</b></font>: <font color="blue"><xt id="include" file="/thinhthay/thayphan/*" /></font></td>
</tr>
</table> Bước 3. Vào thư mục thayphan (trong thư mục thỉnh thầy)
Tạo lần lượt các file, mỗi file post 1 đoạn văn bản (text).
Ví dụ.
- Tạo file 1.html post văn bản: Yêu con thế !
- Tạo file 2.html post văn bản: Hỏi vớ vẩn !
- Tạo file 3.html post văn bản: YES, YES
- Tạo file 4.html post văn bản: NÔ, NÔ
- Tạo file 5.html post văn bản: Trông con sáng sủa mà hỏi câu ngu zậy ta
.... Càng nhiều file thì thầy càng trả lời phong phú.
Game Xtgem Online
0nline:1
Daily :1 Total :566 Time :17:56 Date :02/02/25