- Dynamic pages, content generated by server-side programs.
- CGI, Common Gateway Interface, for sending requests to server-side programs.
static page
Ex:
http://www.google.com/
dynamic page
Ex:
http://www.cna.com.tw/
URL that sends a request by CGI
Ex:
http://maps.google.com/maps?q=24.9586,+121.2411
Purpose of lab:
Learn how to use Form to invoke a remote service through CGI.
1. Copy the search box of this search page,
inlcuding radio buttons, text input, and submit button.
2. Open your KompoZer HTML editor.
3. Open a new empty HTML file.
4. Paste the search box into this new file.
5. Use KompoZer to add a Form to this search box. Do not hand code the HTML. Just fill the blank in the Form dialog.
6. In the form dialog, set Action="http://google.com/search" and name of Form as "f" and method as "get"
(See Hint if it does not work.)
7. Save your file on your computer. Run your HTML by Firefox. What do you get?
8. Set method as "post"
9. Run your HTML by Firefox. What do you get?
Q:請描述至少一個你做這個lab所遇到的問題,並且你是如何解決這個問題的。
19 則留言:
9826339 電子四丙 莊宗諭
電子四乙 9826249 李哲安
9826251電子四乙王致堯
9826245 電子四乙 鍾岳翰
9920117電子三乙 簡曉帆
9826128電子四甲顏竹煇
9826232王正杰
電子四乙 9826209 沈睦然
9826318電子四丙簡國恩
9926266電子三乙蔡忠峻
電子四丙9826310葉倢君
9926250電子三乙洪章响
電子四乙9826225戴光佑
9926242 鍾杰澔
9920136 電子三甲 胡翊軒
9920112 黃采萱
財法四甲 趙俐雯 9845156 lab28
電子四乙 9826262 羅彥翔
9826302 電死四丙 李睿
張貼留言