Home > Backend Development > PHP Tutorial > Thinkphp3.0中URL有关问题

Thinkphp3.0中URL有关问题

WBOY
Release: 2016-06-13 13:14:57
Original
915 people have browsed it

Thinkphp3.0中URL问题
现在有一个表单提交action="__URL__/functionName",这个是怎么实现,如何调用该类的functionName函数来处理提交内容

------解决方案--------------------
给个地址,我发给你。
------解决方案--------------------
主要是路由的处理。 代码主要集中在lib\ThinkPHP\Lib\Core的Dispatcher.class.php。路由分发功能。
官方貌似提供了几种方式。看代码也不难理解

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