子框架怎么获得主页面中的变量

WBOY
Release: 2016-06-13 13:49:57
Original
842 people have browsed it

子框架如何获得主页面中的变量
例如
先是一个登陆页



用户名


密码






提交后
mission.php
可以获得
name\password两个变量

mission中有一个子框架




怎么让子框架中的note.php也获得mission.php所获得的name和password两个变量?

------解决方案--------------------
登陆成功后,
把值存在SESSION里。



------解决方案--------------------
探讨

登陆成功后,
把值存在SESSION里。

------解决方案--------------------
不是
$_session['username']

$_SESSION['username'];
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!