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 66... Line 66...
66
	}#if end
66
	}#if end
67
 
67
 
68
#如果 session 不存在
68
#如果 session 不存在
69
if(!isset($_SESSION)){
69
if(!isset($_SESSION)){
70
 
70
 
-
 
71
	#取得 session id
-
 
72
	$sId=session_id();
-
 
73
 
-
 
74
	#定義 sId
-
 
75
	define("sId",$sId);
-
 
76
 
71
	#啟動 session
77
	#啟動 session
72
	session_start();
78
	session_start();
73
 
79
 
74
	}#if end
80
	}#if end
75
 
81