Subversion Repositories php-qbpwcf

Rev

Rev 226 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 226 Rev 239
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
3
/*
3
/*
4
 
4
 
5
	QBPWCF, Quick Build PHP website Component base on Fedora Linux.
5
	QBPWCF, Quick Build PHP website Component base on Fedora Linux.
6
    Copyright (C) 2014~2025 MIN ZHI, CHEN
6
    Copyright (C) 2014~2026 MIN ZHI, CHEN
7
 
7
 
8
    This file is part of QBPWCF.
8
    This file is part of QBPWCF.
9
 
9
 
10
    QBPWCF is free software: you can redistribute it and/or modify
10
    QBPWCF is free software: you can redistribute it and/or modify
11
    it under the terms of the GNU General Public License as published by
11
    it under the terms of the GNU General Public License as published by
Line 88... Line 88...
88
	}#if end
88
	}#if end
89
 
89
 
90
#如果 session 不存在
90
#如果 session 不存在
91
if(!isset($_SESSION)){
91
if(!isset($_SESSION)){
92
 
92
 
-
 
93
	#取得 session id
-
 
94
	$sId=session_id();
-
 
95
 
-
 
96
	#定義 sId
-
 
97
	define("sId",$sId);
-
 
98
 
93
	#啟動 session
99
	#啟動 session
94
	session_start();
100
	session_start();
95
 
101
 
96
	}#if end
102
	}#if end
97
 
103