Home  >  Article  >  Backend Development  >  htaccess-如何实现php路由分发 方法变量自定义参数名称以及个数

htaccess-如何实现php路由分发 方法变量自定义参数名称以及个数

WBOY
WBOYOriginal
2016-06-02 11:32:48911browse

phphtaccess路由

比如有一个方法 public function a($b,$c,$d){
echo $b,$c,$d;
}

要输入的链接是.......&b=1&c=2&d=3
然后输出123

这个该在.htaccess怎样写

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