ThinkPHP跳转的问题,求帮助
PHP code
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
-->
$url = U('Index/index');
echo $url;
redirect($url, 2, '跳转中...');
这样跳转后,入口文件没有了
跳转后的URL: http://127.0.0.1/Index/index
没有入口文件也就打开页面.
有没有遇到这样的问题的?
求帮助
------解决方案--------------------
这又不是神马问题,U方法以二级目录的形式生成url,index.php被隐藏了而已,况且入口文件也没有必要显示出来,页面能正常打开就行了
------解决方案--------------------
你的入口文件是什么?
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