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

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

WBOY
WBOYOriginal
2016-06-13 13:52:231061browse

急!!!!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'])来处理。

Statement:
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