Hideif on IP range

This will show or hide stuff according to the IP

numero = 44
interpreted = N
texte =
[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.
[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:

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

Technical Change History

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

Download WebDNA Applications

WebDNA applications...

WebDNA Modules

A list of the currently available modules...

F.A.Q

A compilation of some user's questions...

WebDNA reference

...

Related Readings:

Removing whitespace

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

Using a simple Array of Variables with [interpret]

The [interpret] context is very powerful command in the hands of a skilled WebDNA programmer...

Cloning a Record

Often...

Check the Federal Government's Social Security database

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

How to setup CODA to work with WebDNA?

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

How many working days?

This small script finds the number of working days between two dates...