Home > Web Front-end > HTML Tutorial > A strange form field name_html/css_WEB-ITnose

A strange form field name_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:11:11
Original
1033 people have browsed it

请求页面:https://10.201.102.93/user/requireLogin

表单内容:





用户登录
用户名
密码




    



假如我要构造HTTP POST数据包,请问提交的表单数据内容是不是:
user[account]=admin&user[password]=admin888
Copy after login

我总觉得这个表单字段的名字好奇怪,在提交后也不成功,请大家帮帮忙,谢谢。


回复讨论(解决方案)

post你用什么接收数据?没有接收数据,怎么提交成功?

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")
那个,网页代码我是更改不了的,因为是被人的主机,我访问他主页的时候发现这个表单。
这个表单里面的

name="user[account]"name="user[password]" 
Copy after login

这两个字段是不是错误的?但是他的网页是可以正常作登录操作的。

source:php.cn
Previous article:How to determine whether the uploaded menu to the second-level page is the first-level menu or the second-level menu? _html/css_WEB-ITnose Next article:Collection Detect the code to display if there is content and comment if there is no content_html/css_WEB-ITnose
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Latest Issues
Related Topics
More>
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template