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:

WebDNA Libraries

A list of available libraries for WebDNA...

Download WebDNA Applications

WebDNA applications...

AWS Raw WebDNA LAMP-Plus WebServer

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

WebDNA Modules

A list of the currently available modules...

WebDNA reference

...

[biotype]

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

Related Readings:

How to create a RSS feed

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

Find duplicate records

Find duplicate records and do something with them...

WebDNA Google Map Mashup

Generate a Google map with pins on your database addresses...

Export data to Excel

Here's a handy way to export your data to a text or Excel file...

Write Once Use Many

Reuse the same code over and over again on your site with the [include] context...

Using a simple Array of Variables with [interpret]

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