Blogger Information
Blog 25
fans 0
comment 0
visits 13742
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
url中各部分的含义-http协议
安超
Original
1003 people have browsed it

url中各部分的含义

1.url的组成

我们在进行网络识别时,了解url(unerversal resource

identifier)是必须的过程。

一个url通常用7部分组成,一个完整的url如下所示:

  1. http://site.cn:80/index.php/user/add?p=3& key=admin#link

2.url各部分的含义

1.http:// :协议;
2.site.cn :域名/主机;
3.:80 : 端口;
4./index.php : 入口文件/应用程序
5./user/add :PATH_INFO,用来做路由
6.?p=3&key=admin :查询参数/查询字符串/GET请求
7.#link : 锚点/ hash 参数

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post