$Web Hdr Len or $Web Hdr Parm Len: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 22: | Line 22: | ||
<ul> | <ul> | ||
<li>[[$Web_Hdr_Name]] | <li>[[<var>$Web_Hdr_Name]]</var> | ||
<li>[[$Web_Hdr_Parm]] | <li>[[<var>$Web_Hdr_Parm]]</var> | ||
<li>[[$Web_Num_Hdr]] | <li>[[<var>$Web_Num_Hdr]]</var> | ||
</ul> | </ul> | ||
[[Category:Janus Web Server $functions|$Web_Hdr_Len]] | [[Category:Janus Web Server $functions|$Web_Hdr_Len]] |
Revision as of 20:17, 12 June 2012
<section begin="desc" />Length of request header field<section end="desc" />
$Web_Hdr_Len retrieves the length of a field in a request header.
Syntax
<section begin="syntax" /> %RC = $Web_Hdr_Len( fieldname, occurrence ) <section end="syntax" />
$Web_Hdr_Len takes two arguments and returns a number, or zero if the header does not exist.
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. |
See also:
- [[$Web_Hdr_Name]]
- [[$Web_Hdr_Parm]]
- [[$Web_Num_Hdr]]