Subversion Repositories php-qbpwcf

Rev

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

Rev 304 Rev 310
Line 60... Line 60...
60
$logFile=$_SERVER["DOCUMENT_ROOT"].$_SERVER["PHP_SELF"].".log";
60
$logFile=$_SERVER["DOCUMENT_ROOT"].$_SERVER["PHP_SELF"].".log";
61
 
61
 
62
#要使用的範例name
62
#要使用的範例name
63
$nameOfSample="20260207";
63
$nameOfSample="20260207";
64
$nameOfSample="20260313";
64
$nameOfSample="20260313";
-
 
65
$nameOfSample="20260323";
65
 
66
 
66
#函式說明:
67
#函式說明:
67
#抓取命令列的參數.
68
#抓取命令列的參數.
68
#回傳結果:
69
#回傳結果:
69
#$result["status"],執行是否正常,"true"代表正常,"false"代表不正常.
70
#$result["status"],執行是否正常,"true"代表正常,"false"代表不正常.
Line 148... Line 149...
148
$samples=array();
149
$samples=array();
149
 
150
 
150
#增加 phpLib::updateCopyRightYear 的範例資訊
151
#增加 phpLib::updateCopyRightYear 的範例資訊
151
$samples[]=array("name"=>"20260207","comnent"=>"test run shell on remote");
152
$samples[]=array("name"=>"20260207","comnent"=>"test run shell on remote");
152
$samples[]=array("name"=>"20260313","comnent"=>"test auto detect remote command to run shell on remote");
153
$samples[]=array("name"=>"20260313","comnent"=>"test auto detect remote command to run shell on remote");
-
 
154
$samples[]=array("name"=>"20260323","comnent"=>"test many pipes command");
153
 
155
 
154
#針對每個範例資訊
156
#針對每個範例資訊
155
foreach($samples as $sample){
157
foreach($samples as $sample){
156
 
158
 
157
	#如果找到對應的範例
159
	#如果找到對應的範例