一個奇怪的表單字段名字_html/css_WEB-ITnose
來源:懂視網(wǎng)
責編:小采
時間:2020-11-27 15:50:08
一個奇怪的表單字段名字_html/css_WEB-ITnose
一個奇怪的表單字段名字_html/css_WEB-ITnose:請求頁面:https://10.201.102.93/user/requireLogin 表單內(nèi)容: 假如我要構造HTTP POST數(shù)據(jù)包,請問提交的表單數(shù)據(jù)內(nèi)容是不是: user[account]=admin&user[password]=admin888 我總覺得這個表單字段的名字好奇怪,在提交后也不成功
導讀一個奇怪的表單字段名字_html/css_WEB-ITnose:請求頁面:https://10.201.102.93/user/requireLogin 表單內(nèi)容: 假如我要構造HTTP POST數(shù)據(jù)包,請問提交的表單數(shù)據(jù)內(nèi)容是不是: user[account]=admin&user[password]=admin888 我總覺得這個表單字段的名字好奇怪,在提交后也不成功

請求頁面:https://10.201.102.93/user/requireLogin
表單內(nèi)容:
假如我要構造HTTP POST數(shù)據(jù)包,請問提交的表單數(shù)據(jù)內(nèi)容是不是:
user[account]=admin&user[password]=admin888
我總覺得這個表單字段的名字好奇怪,在提交后也不成功,請大家?guī)蛶兔Γx謝。
回復討論(解決方案)
post你用什么接收數(shù)據(jù)?沒有接收數(shù)據(jù),怎么提交成功?
name="user[account]"
name="user[password]"
改成
name="account"
name="password"
后臺獲取
Request.Form("account")
Request.Form("password")
name="user[account]"
name="user[password]"
改成
name="account"
name="password"
后臺獲取
Request.Form("account")
Request.Form("password")
那個,網(wǎng)頁代碼我是更改不了的,因為是被人的主機,我訪問他主頁的時候發(fā)現(xiàn)這個表單。
這個表單里面的
name="user[account]"name="user[password]"
這兩個字段是不是錯誤的?但是他的網(wǎng)頁是可以正常作登錄操作的。
聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
一個奇怪的表單字段名字_html/css_WEB-ITnose
一個奇怪的表單字段名字_html/css_WEB-ITnose:請求頁面:https://10.201.102.93/user/requireLogin 表單內(nèi)容: 假如我要構造HTTP POST數(shù)據(jù)包,請問提交的表單數(shù)據(jù)內(nèi)容是不是: user[account]=admin&user[password]=admin888 我總覺得這個表單字段的名字好奇怪,在提交后也不成功