Home> php教程> php手册> body text

PHP4中session的应用(2)--欢迎页面(welcome_reserve.php3)

WBOY
Release: 2016-06-21 09:13:02
Original
1547 people have browsed it

session|页面

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




欢迎使用南京站订票系统












娆㈣
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 Recommendations
    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!