Hideif on IP range

This will show or hide stuff according to the IP

[If ("[ipaddress]">"194.158.032.000")[!]
[/!]&("[ipaddress]"<"194.158.063.255"]
[Then]Don't show stuff[/Then]
[Else]Show stuff[/Else]
[/If]


Note that IP addresses must be expressed as three-digit quadrants.

Also notice the use of comment tags ([!] and [/!]) in this example to break the code into lines for ease of reading. Line breaks within a tag are not allowed. Tim Robinson

DOWNLOAD WEBDNA NOW!

Top Articles:

Download WebDNA Applications

WebDNA applications...

F.A.Q

A compilation of some user's questions...

WebDNA Modules

A list of the currently available modules...

WebDNA Libraries

A list of available libraries for WebDNA...

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:

How to create a RSS feed

How to create a RSS feed from yourdatabase on formation...

Calculating Standard Deviation

...

Setting a 30-minute Cookie

Configuring the expires time for a short-term cookie is tricky...

Formatting a long list in a table

How to show the result of a search as a table...

How to keep the text variable after a function has finished

By default...

Removing whitespace

How can I remove all whitespace entered by a user from an input box (ie card number)...