Home > php教程 > php手册 > PHP4中session的应用2

PHP4中session的应用2

WBOY
Release: 2016-06-13 10:23:24
Original
948 people have browsed it

//欢迎页面(welcome_reserve.php3)
//这个页面首先判断用户是否正确登录,如未登录,就转到登录页面。
session_start();
if((!$user_id)or(!$user_array[ticket_day])or(!$user_array[ticket_num])){
Header("Location: login.php3");
}
?>




欢迎使用南京站订票系统






 



娆㈣
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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template