URL 问号后面部分的术语是什么?
http://www.example.com?foo
URL 的 foo
部分的术语是什么?
http://www.example.com?foo
What's the term for the foo
part of the URL?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
它是查询,有时是查询字符串。
要从 URI RFC 中提取有用的图表:
It's the query, or sometimes the query string.
To pinch a useful diagram from the URI RFC:
它被称为“查询字符串”,正如您在维基百科上看到的那样。
It's called the "query string", as you can see on Wikipedia.
查询。
https://www.rfc-editor.org/rfc/rfc3986#section- 3.4
The query.
https://www.rfc-editor.org/rfc/rfc3986#section-3.4
取决于您使用的技术。
通常它被称为名称值对。查询字符串是指 ? 之后的整个字符串。符号。然后,根据所使用的技术,查询字符串被解析并通常显示为字典。
例如, http://www.example.com?foo=bar&foo1=bar1< /a>:
请求[“foo”]产生“bar”
请求[“foo1”]为asp生成“bar1”
或 $_GET["foo"] -> php 的“bar”等等。
Depends on the technology you use.
Usually its called name value pair. Query string refers to the whole string after ? sign. Then depending on technology used that query string is parsed and normally appears as the dictionary.
For example, http://www.example.com?foo=bar&foo1=bar1:
Request["foo"] yields "bar"
Request["foo1"] yields "bar1" for asp
or $_GET["foo"] -> "bar" for php and so on.
这里 foo 是查询字符串,它是 URL 的一部分,因此如果用户保存或将 URL 发送给另一个用户,它就会被包含在内。假设您想从 url 发送一些输入数据,那么我们使用这种类型的参数。有根据 RFC 2616,没有传递参数的限制。
查询字符串的语法
Request.QueryString(变量)[(索引).count]
Here foo is query string,it is a part of the URL, and are therefore included if the user saves or sends the URL to another user.suppose you want to send some input data from url then we use this types of parameater.There are no limit of passing parameters according to RFC 2616.
Syntax of Query String
Request.QueryString(variable)[(index).count]
'foo' 仅被称为 URL 查询的字符串参数
The 'foo' only is called String Parameters of the URL Query