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:

Tips and Tricks

A list of user-submitted tips ...

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...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

Related Readings:

How to keep the text variable after a function has finished

By default...

How to setup CODA to work with WebDNA?

This page will show graphically how to setup CODA as a WebDNA partner :-)...

How old am I?

You want to express an age in years given the dob (mm/dd/yyyy) and today's date...

WebDNA interaction with zip

I have a project where I'm allowing several people to upload images...

Extracting the first sentence out of a block of text

I need to extract the first sentence out of a block of text...

Check the Federal Government's Social Security database

The script on the page will check the federal government's social security database...