$Web Hdr Len or $Web Hdr Parm Len: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
mNo edit summary |
||
Line 17: | Line 17: | ||
<td>The occurrence number of a header field, or the occurrence number of the header field matching ''fieldname'', if ''fieldname'' is specified. Optional argument if ''fieldname'' is specified, otherwise it is required. | <td>The occurrence number of a header field, or the occurrence number of the header field matching ''fieldname'', if ''fieldname'' is specified. Optional argument if ''fieldname'' is specified, otherwise it is required. | ||
</td></tr></table> | </td></tr></table> | ||
==See also== | ==See also== |
Latest revision as of 22:24, 5 June 2013
Length of request header field
$Web_Hdr_Len retrieves the length of a field in a request header.
$Web_Hdr_Len takes two arguments and returns a number, or zero if the header does not exist.
Syntax
%rc = $Web_Hdr_Len( fieldname, occurrence )
Syntax terms
fieldname | The name of the header field, returned by $Web_Hdr_Name. Required argument if occurrence not specified, otherwise optional. |
---|---|
occurrence | The occurrence number of a header field, or the occurrence number of the header field matching fieldname, if fieldname is specified. Optional argument if fieldname is specified, otherwise it is required. |