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