Application of session in PHP4 2_PHP tutorial

WBOY
Release: 2016-07-13 17:23:03
Original
743 people have browsed it

//Welcome page (welcome_reserve.php3)
//This page first determines whether the user is logged in correctly. If not, it goes to the login page.
session_start();
if((!$user_id)or(!$user_array[ticket_day])or(!$user_array[ticket_num])){
Header("Location: login.php3") ;
}
?>




Welcome to Nanjing Station Ticket Booking System










Welcome



Bulletin Board:

No announcement today





Online ticket booking order query password modification ticket booking help log out







include("../footer .php3");
?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/532252.htmlTechArticle//Welcome page (welcome_reserve.php3) //This page first determines whether the user has logged in correctly. If not, Just go to the login page. session_start(); if((!$user_id)or(!$user_array...
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