Subversion Repositories php-qbpwcf

Rev

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

Rev 239 Rev 306
Line 62... Line 62...
62
 
62
 
63
#匯入外部套件
63
#匯入外部套件
64
include("allInOne.php");
64
include("allInOne.php");
65
 
65
 
66
#如果不存在要轉換成16進位的數值
66
#如果不存在要轉換成16進位的數值
67
if( !isset($_SERVER['argv'][1]) )
67
if( !isset($_SERVER['argv'][1]) ){
68
{
68
 
69
	#show help
69
	#show help
70
	help();
70
	help();
71
 
71
 
72
	#停止執行
72
	#停止執行
73
	exit;
73
	exit;
-
 
74
 
74
}
75
	}
75
 
76
 
76
#如果第參數為 "help" 或 "-h"
77
#如果第參數為 "help" 或 "-h"
77
if( $_SERVER['argv'][1]==="help" || $_SERVER['argv'][1]==="-h" ){
78
if( $_SERVER['argv'][1]==="help" || $_SERVER['argv'][1]==="-h" ){
78
 
79
 
79
	#show help
80
	#show help