- 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?
27 則留言:
9826132 電子四甲 馬國薰
10026335 張心玉 電子二丙
9926202 電子三乙 闕慧宇
電子四丙9826312王厚元
9826375電子四丙謝東益
電子二丙 10026309 陳瀅
9926267電子三乙周琮棋
電子四丙 9826365 周恆緯
9926255 電子三乙 林延興
9926148 電子三甲 李唐羽
電子四丙9826377朱庭慶
9826215 電子四乙 吳駿霖 Lab 27
9926312 官宏毅
電子三丙9926309李仲偉
電子三丙 9926329 曾長胤
9926304電子三丙洪皓鈞
電子四乙 9826236 黃崇恩
電子三乙9926253藍唯誠
電子三丙 9926319 林俊傑
電子四甲 9826124 林子平
9926341 蔡孟勳
電子四乙 9820126 蘇俊豪
9926203 電子三乙 劉禹廷
9926304電子三丙洪皓鈞
電子四乙9826240鄭佳航lab27
9926307 電子三丙 許銘軒
張貼留言