- 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
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?
25 則留言:
9826110游鈞元
電子三丙 9826370 侯博揚
9826266 電子三乙 翁國瑋
電子三丙 9826319 馮鈞雅
電子三丙 9826336 劉子寧
9726355 郭昱均
9826242洪君翰
電子三乙9826248粘丞勛
電子三丙 9826329 張陞豪
黃敏綺 9826140 電子三甲
電子三甲 黃智婉9826151
9726326盧毅電子四丙
9726314吳孟剛
蔣岳霖9726309電子四丙
電子四丙9726353蔡岳軍
9726219 電子四乙 廖婕宇
電子四乙9726235陳宥銘
電子三甲9826152黃騰弘
9726201 電子四乙 張涵絜
9726106陳麒安
9826212電子三乙
9726311電子四丙劉晏辰
9726313郭冠德
電子四乙9726237 傅國剛
張貼留言