100. 基本
On Web Connection
• $1リクエスト
• $2 HTTPヘッダ+ボディ(一部)
• $3 クライアントIPアドレス
• $4 サーバーIPアドレス
• $5 ユーザー名
• $6 パスワード
WEB GET VARIABLES
101. 基本
On Web Connection
• $1リクエスト
• $2 HTTPヘッダ+ボディ(一部)
• $3 クライアントIPアドレス
• $4 サーバーIPアドレス
• $5 ユーザー名
• $6 パスワード
WEB GET HTTP HEADER
WEB GET VARIABLES
102. 基本
On Web Connection
• $1リクエスト
• $2 HTTPヘッダ+ボディ(一部)
• $3 クライアントIPアドレス
• $4 サーバーIPアドレス
• $5 ユーザー名
• $6 パスワード
WEB GET HTTP BODY
WEB GET HTTP HEADER
WEB GET VARIABLES
103. 基本
On Web Connection
• $1リクエスト
• $2 HTTPヘッダ+ボディ(一部)
• $3 クライアントIPアドレス
• $4 サーバーIPアドレス
• $5 ユーザー名
• $6 パスワード
WEB GET HTTP BODY
WEB GET HTTP HEADER
WEB GET HTTP BODY PARTS
WEB GET VARIABLES
115. 基本
• 4Dタグ
• On Web Connection
• .shtml
• 4DACTION
• WEB GET VARIABLES
• WEB SEND FILE
• WEB GET HTTP HEADER
• WEB GET HTTP BODY
116. 基本
• 4Dタグ
• On Web Connection
• .shtml
• 4DACTION
• WEB GET VARIABLES
• WEB SEND FILE
• WEB GET HTTP HEADER
• WEB GET HTTP BODY
• WEB SEND TEXT
• WEB SEND BLOB
• WEB SEND RAW DATA
• WEB SEND HTTP REDIRECT
134. C_POINTER($1)
C_TEXT($0)
If (Count parameters>0)
If (Not(Nil($1)))
If (Table(Table($1))=$1)
If (Records in selection($1->)#Selected record number($1->))
$0:=","
End if
End if
End if
End if
w_endOfArrayItem
jQuery
135. C_POINTER($1)
C_TEXT($0)
If (Count parameters>0)
If (Not(Nil($1)))
If (Table(Table($1))=$1)
If (Records in selection($1->)#Selected record number($1->))
$0:=","
End if
End if
End if
End if
w_endOfArrayItem
jQuery
136. C_POINTER($1)
C_TEXT($0)
If (Count parameters>0)
If (Not(Nil($1)))
If (Table(Table($1))=$1)
If (Records in selection($1->)#Selected record number($1->))
$0:=","
End if
End if
End if
End if
w_endOfArrayItem
jQuery
137. C_POINTER($1)
C_TEXT($0)
If (Count parameters>0)
If (Not(Nil($1)))
If (Table(Table($1))=$1)
If (Records in selection($1->)#Selected record number($1->))
$0:=","
End if
End if
End if
End if
w_endOfArrayItem
jQuery
138. C_POINTER($1)
C_TEXT($0)
If (Count parameters>0)
If (Not(Nil($1)))
If (Table(Table($1))=$1)
If (Records in selection($1->)#Selected record number($1->))
$0:=","
End if
End if
End if
End if
w_endOfArrayItem
jQuery
166. C_BOOLEAN($0;$isMobile)
ARRAY TEXT($headerNames;0)
ARRAY TEXT($headerValues;0)
WEB GET HTTP HEADER($headerNames;$headerValues)
C_LONGINT($i)
$i:=Find in array($headerNames;"User-Agent")
If ($i#-1)
$userAgent:=$headerValues{$i}
$isMobile:=True
Case of
: (Position("iPhone";$userAgent)#0)
: (Position("iPad";$userAgent)#0)
: (Position("Android";$userAgent)#0)
Else
$isMobile:=False
End case
End if
$0:=$isMobilew_isMobile
モバイル
167. C_BOOLEAN($0;$isMobile)
ARRAY TEXT($headerNames;0)
ARRAY TEXT($headerValues;0)
WEB GET HTTP HEADER($headerNames;$headerValues)
C_LONGINT($i)
$i:=Find in array($headerNames;"User-Agent")
If ($i#-1)
$userAgent:=$headerValues{$i}
$isMobile:=True
Case of
: (Position("iPhone";$userAgent)#0)
: (Position("iPad";$userAgent)#0)
: (Position("Android";$userAgent)#0)
Else
$isMobile:=False
End case
End if
$0:=$isMobilew_isMobile
モバイル
259. C_BOOLEAN($0;$isPost)
ARRAY TEXT($headerNames;0)
ARRAY TEXT($headerValues;0)
WEB GET HTTP HEADER($headerNames;$headerValues)
C_LONGINT($i)
$i:=Find in array($headerNames;"X-METHOD")
$isPost:=False
If ($i#-1)
$isPost:=($headerValues{$i}="POST")
$i:=Find in array($headerNames;"X-METHOD-OVERRIDE")
If ($i#-1)
$isPost:=False
End if
End if
$0:=$isPost
まとめ
w_isPost
260. C_BOOLEAN($0;$isPost)
ARRAY TEXT($headerNames;0)
ARRAY TEXT($headerValues;0)
WEB GET HTTP HEADER($headerNames;$headerValues)
C_LONGINT($i)
$i:=Find in array($headerNames;"X-METHOD")
$isPost:=False
If ($i#-1)
$isPost:=($headerValues{$i}="POST")
$i:=Find in array($headerNames;"X-METHOD-OVERRIDE")
If ($i#-1)
$isPost:=False
End if
End if
$0:=$isPost
まとめ
w_isPost
261. C_BOOLEAN($0;$isPost)
ARRAY TEXT($headerNames;0)
ARRAY TEXT($headerValues;0)
WEB GET HTTP HEADER($headerNames;$headerValues)
C_LONGINT($i)
$i:=Find in array($headerNames;"X-METHOD")
$isPost:=False
If ($i#-1)
$isPost:=($headerValues{$i}="POST")
$i:=Find in array($headerNames;"X-METHOD-OVERRIDE")
If ($i#-1)
$isPost:=False
End if
End if
$0:=$isPost
まとめ
w_isPost