Home > Backend Development > PHP Tutorial > 关于以个跳转的小疑点,想跟大家取取经

关于以个跳转的小疑点,想跟大家取取经

WBOY
Release: 2016-06-13 12:05:55
Original
826 people have browsed it

关于以个跳转的小问题,想跟大家取取经
如下图,这是一个登陆的代码,重点在有注释的那里,不知道用header("location:main.php");直接跳转到主页面好,还是用Get_admin_msg('main.php','登陆成功!');这个函数来做一个过渡,在点击一次才跳转到主页面好??Get_admin_msg这个函数里没什么,就是一个登陆成功请点击!

------解决方案--------------------
这个看个人意图,如果有提醒给个提醒,没提醒直接跳转目标页。

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