boundary = "NACSIS-CATP" Multi-record = 1*(Record-delimiter Record) Close-delimiter Record-delimiter = "--" boundary CRLF Close-delimiter = "--" boundary "--" CRLF boundary = 0*69( bchar | SP ) bchar ; boundaryはMulti-record内で同一とする bchar = DIGIT | ALPHA | "'" | "(" | ")" | "+" | "_" | "," | "-" | "." | "/" | ":" | "=" | "?"
クライアントに対するユーザの認証情報を指定する。
Authentication-info = "Authenticate" ":" Authenticate CRLF Authenticate = text
"Authenticate" ":" ユーザ登録名 "," 確認キーワード CRLF
クライアントが指定したデータベース名(リスト)をそのまま返す。
Edit-Typeを下表のように定義する。
項番 | Edit-Type | 意味 |
---|---|---|
1 | "0" | 未定義 |
2 | "1" | 簡略情報用レコードフィールド群 |
3 | "2" | 詳細情報用レコードフィールド群 |
4 | "3" | 未定義 |
5 | "4" | 未定義 |
6 | "5" | 未定義 |
7 | "6" | 未定義 |
8 | "7" | 未定義 |
9 | "8" | 未定義 |
10 | "9" | 全レコードフィールド群 |
$code1 = substr($code,0,2) ; $code2 = substr($code,2,2) ; $jisCode1 = 0x75 if (hex($code1) == 0xDF) ; $jisCode1 = 0x76 if (hex($code1) == 0xE1) ; $jisCode1 = 0x77 if (hex($code1) == 0xE3) ; $jisCode1 = 0x78 if (hex($code1) == 0xE4) ; $jisCode1 = 0x79 if (hex($code1) == 0xE5) ; $jisCode1 = 0x7A if (hex($code1) == 0xE6) ; $jisCode1 = 0x7B if (hex($code1) == 0xE7) ; $jisCode1 = 0x7C if (hex($code1) == 0xE8) ; $jisCode1 = 0x7D if (hex($code1) == 0xE9) ; $jisCode1 = 0x7E if (hex($code1) == 0xEE) ; $jisCode2 = hex($code2) ; $jis = sprintf("%x",$jisCode1) . sprintf("%x",$jisCode2) ;