Lists all the MIME header names and values sent from the remote browser.
numero = 221[listmimeheaders][index],[name],[value]The [listmimeheaders] context has optional parameters that are placed within the beginning tag in order to modify the list of MIME headers produced. The exact spelling of the MIME headers changes from web server to web server, so you may have to experiment with them.Example:
[/listmimeheaders]
Your web browser preferences show that your native language is:[listmimeheaders name=HTTP_ACCEPT_LANGUAGE][value][/listmimeheaders]Example:
The following are the values of all the MIME headers whose name begins with "HTTP_ACCEPT":[listmimeheaders name=HTTP_ACCEPT&exact=F][index],[value][/listmimeheaders]The following parameters are optional to the [listmimeheaders] context:
Parameter | Description |
---|---|
Name | The name of the MIME header to list. |
Exact | T(rue) or F(alse) whether to exactly match the name of the parameter or match any name that contains the "name" value. (Default value is true.) |
Tag | Description |
---|---|
[Name] | The name of the MIME header. |
[Value] | The value associated with the MIME header. |
[Index] | A number from 1 to the total number of MIME headers, indicating this header's index position in the list. |
[function name=CALL_DOMAIN][return][listmimeheaders name=host&exact=F][url][value][/url][/listmimeheaders][/return][/function]and do something like this:
[showif [CALL_DOMAIN]=www.domain1.com][redirect http://www.domain2.com][/showif][showif [CALL_DOMAIN]=www.domain3.com][redirect http://www.domain4.com[thisurl]][/showif][listmimeheaders params]MIME Header Tags[/listmimeheaders]
[listmimeheaders]
[index],[name],[value]
[/listmimeheaders]
Your web browser preferences show that your native language is:
[listmimeheaders name=HTTP_ACCEPT_LANGUAGE]
[value]
[/listmimeheaders]
The following are the values of all the MIME headers whose name begins with "HTTP_ACCEPT":
[listmimeheaders name=HTTP_ACCEPT&exact=F]
[index],[value]
[/listmimeheaders]
Parameter | Description |
---|---|
Name | The name of the MIME header to list. |
Exact | T(rue) or F(alse) whether to exactly match the name of the parameter or match any name that contains the "name" value. (Default value is true.) |
Tag | Description |
---|---|
[Name] | The name of the MIME header. |
[Value] | The value associated with the MIME header. |
[Index] | A number from 1 to the total number of MIME headers, indicating this header's index position in the list. |
[function name=CALL_DOMAIN][return][listmimeheaders name=host&exact=F][url][value][/url][/listmimeheaders][/return][/function]
[showif [CALL_DOMAIN]=www.domain1.com][redirect http://www.domain2.com][/showif]
[showif [CALL_DOMAIN]=www.domain3.com][redirect http://www.domain4.com[thisurl]][/showif]
DOWNLOAD WEBDNA NOW!
A list of available libraries for WebDNA...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
Download WebDNA ApplicationsWebDNA applications...
WebDNA reference...
Tips and TricksA list of user-submitted tips ...
WebDNA ModulesA list of the currently available modules...
The number displayed is the number of words inside the context...
[setheader]Changes header values in a shopping cart...
[getmimeheader]Displays a specific MIME header...
[table][table] allows you to quickly create a temporary 'in line' database that is local to the template and not part of the global database cache...
[writefile][writefile] functions allows you to perform a wide variety of tasks...
[unurl]Changes text from URL-compatible characters to plain text...