SOGO論壇
標題:
cgi的圖(是結構才對)
[列印本頁]
作者:
秘書長
時間:
2010-11-5 15:27:01
標題:
cgi的圖(是結構才對)
┌────┐
┌─────┐ ┌─────┐ ┌────┐ +-->│Database│
│Client │ HTTP │WWW Server│ │Gateway │ | └────┘
│Browser │<---->│(Cern,Ncsa│<---->│Program │<-|
│(Mosaic..)│ │ ..) │ CGI │ │ | ┌──────┐
└─────┘ └─────┘ ↑ └────┘ +-->│ Existing │
↑ │ │Application │
WWW │ │ └──────┘
Object│ │
↓ ╭┴─────────╮
┌────┐ │Environment Variable│
│Shared │ │Command Line │
│Objects │ │Standard Input │
│Objects │ │Standard Input │
│(Html..)│ │Standard Output │
└────┘ ╰──────────╯
↑
│
│
Windows CGI 1.1 裡就不是如此喲! ────┘
server 會把 input 寫到某個資料檔中, 再通知 CGI program 去讀那個檔。
至於這個檔的格式, 請參考
http://www.city.net/win-httpd/httpddoc/wincgi.htm
歡迎光臨 SOGO論壇 (https://oursogo.com/)
Powered by OURSOGO.COM