Technical References - [thisurl]

[thisurl] displays the URL of the current page

numero = 194
interpreted = N
texte = Putting [thisurl] in your template displays the URL of the current page being displayed as a relative path from the root of the server hierarchy. It will not show the domain name. If you need to show the variables from the URL, use [thisurlplusget]
http://www.domain.com/x/y/z/index.dna?a=b&c=d
the [thisurl] tag will produce this:
/x/y/z/index.dna
while the [thisurlplusget] tag will produce this:
/x/y/z/index.dna?a=b&c=d
and if you need to show the domain name, just use [listmimeheaders]
[text]CALL_DOMAIN=[listmimeheaders name=host&exact=F][value][/listmimeheaders][/text]http://[CALL_DOMAIN][thisurlplusget]
Putting [thisurl] in your template displays the URL of the current page being displayed as a relative path from the root of the server hierarchy. It will not show the domain name.

If you need to show the variables from the URL, use [thisurlplusget]

http://www.domain.com/x/y/z/index.dna?a=b&c=d


the [thisurl] tag will produce this:
/x/y/z/index.dna

while the [thisurlplusget] tag will produce this:
/x/y/z/index.dna?a=b&c=d


and if you need to show the domain name, just use [listmimeheaders]

[text]CALL_DOMAIN=[listmimeheaders name=host&exact=F][value][/listmimeheaders][/text]


http://[CALL_DOMAIN][thisurlplusget]






DOWNLOAD WEBDNA NOW!

Top Articles:

WebDNA reference

...

F.A.Q

A compilation of some user's questions...

WebDNA Libraries

A list of available libraries for WebDNA...

WebDNA Modules

A list of the currently available modules...

Tips and Tricks

A list of user-submitted tips ...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Related Readings:

[deletefile]

Deleting a file from your website...

[tcpconnect]

A powerful feature to connect to a TCP port of another computer on the Internet...

Implement BioType

Here is the JavaScript code that captures the keystroke dynamics of a demo user and how to make WebDNA analyze it...

[writefile]

[writefile] functions allows you to perform a wide variety of tasks...

[url]

[url]...

[xmlnodesattributes]

This context is used to iterate the attributes of a specific XML node...