發信人: finalguy@yahoo.com (finalguy) 日期: Wed, 19 Mar 2003 01:56:27 +0800 標題: Re: 表單傳送用GET到底有什麼限制 信群: tw.bbs.comp.hacker,tw.bbs.comp.lang.java,tw.bbs.comp.www 看板: 來源: <3E775DCB.8D49C289@yahoo.com>:356810, pcd575037.netvigator.com 組織: IMS Netvigator 抄出來的, 請看看: http://www.w3webmaster.com/html/getpost.shtml GET: Passes the form's input to the server in a variable called QUERY_STRING. The length of the QUERY_STRING is limited by the servers and browsers limitations on environment variables. Caution on this, I found IE passes a shorter length QUERY_STRING then Netscape. POST: Passes the form's input to the server in an URL encoded stream. The URL encoded input is passed to the CGI process via STDIN. An environment variable, CONTENT_LENGTH contains the total length of encoded input. The length of the URL encoded stream is limited only by the servers side application variable declaration (a programming thing). 個人估計, 上文所說的 servers and browsers limitations on environment variables 可能可以在 browser 中更改..... 或者改 DOS 的 set..... 又或者改用netscape為 default browser..... "賤兔" wrote: > 想問一下! > > 經過我的實驗! > > 我用 action="mailto:" > 然後用表單傳送GET的方式 > 夾帶表單~ > > 傳送到電子郵件~ > >
> > >
> > 結果我發現! > 如果你是WIN98的系統~只能傳送 > 大概200個字左右的內文 > 他就會出現~ > > 預設的電子郵件軟體安裝不正確 > > 如果是NT比如XP的話~ > 可以到500個字~~ > > 這是怎回事呢?????????? > 為什麼!程式一樣!!系統不一樣就有那麼大的差別~ > > 有辦法~讓WIN98能傳到500個字嗎?? > 還是有什麼環境變數還要設定呢""???? > > 我快被主管逼瘋ㄌ~~ > 每天就只會叫我想辦法解決~~ > 可是這要怎解決阿!!天阿!!~程式又不是我寫了! > > 所以請大家幫幫忙~嗚~ > > 對的!有人會問為什麼不用Post的方式 > 因為我發現到如果用post的話!他會自動把信給寄出去ㄌ > 不像get~~他會自動開啟一個新郵件~~ > 然後我才可以~從通訊錄選擇收件者 .