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