Subversion Repositories php-qbpwcf

Rev

Rev 81 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 81 Rev 223
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-Jhin,Chen
6
    Copyright (C) 2014~2025 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 32... Line 32...
32
$cmd=<<<'PHP'
32
$cmd=<<<'PHP'
33
 
33
 
34
/*
34
/*
35
 
35
 
36
        QBPWCF, Quick Build PHP website Component base on Fedora Linux.
36
        QBPWCF, Quick Build PHP website Component base on Fedora Linux.
37
    Copyright (C) 2014~2025 Min-Jhin,Chen
37
    Copyright (C) 2014~2025 MIN ZHI, CHEN
38
 
38
 
39
    This file is part of QBPWCF.
39
    This file is part of QBPWCF.
40
 
40
 
41
    QBPWCF is free software: you can redistribute it and/or modify
41
    QBPWCF is free software: you can redistribute it and/or modify
42
    it under the terms of the GNU General Public License as published by
42
    it under the terms of the GNU General Public License as published by
Line 71... Line 71...
71
#當還有時間要等待時
71
#當還有時間要等待時
72
while($second2wait>0){
72
while($second2wait>0){
73
 
73
 
74
	#等待1秒鐘
74
	#等待1秒鐘
75
	sleep(1);
75
	sleep(1);
76
	
76
 
77
	#設置等待時間減少1秒鐘
77
	#設置等待時間減少1秒鐘
78
	$second2wait=$second2wait-1;
78
	$second2wait=$second2wait-1;
79
 
79
 
80
	#提示剩下多少等待時間
80
	#提示剩下多少等待時間
81
	echo "There is still ".$second2wait." left.".PHP_EOL;
81
	echo "There is still ".$second2wait." left.".PHP_EOL;
Line 115... Line 115...
115
#無.
115
#無.
116
$proc=threads::proc($conf);
116
$proc=threads::proc($conf);
117
unset($conf);
117
unset($conf);
118
 
118
 
119
#debug
119
#debug
120
var_dump($proc);
-
 
121
120
var_dump($proc);
-
 
121