Home > Backend Development > PHP Tutorial > 急http://localhost/?action=ask|ssss|281942|cn|1731|1731 怎么实现的呢?

急http://localhost/?action=ask|ssss|281942|cn|1731|1731 怎么实现的呢?

WBOY
Release: 2016-06-13 10:03:56
Original
1287 people have browsed it

急!!!!http://localhost/?action=ask|ssss|281942|cn|1731|1731 如何实现的呢??????
http://localhost/?action=ask|ssss|281942|cn|1731|1731 像这样的访问实现原理是什么啊? 是如何实现的呢??


------解决方案--------------------
根目录下有个index.php文件,把action参数传递给了它,和http://localhost/index.php?action=是一个意思。
至于action的值,可以用explode("|",$_GET['action'])来处理。

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template