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:

Technical Change History

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

Download WebDNA Applications

WebDNA applications...

F.A.Q

A compilation of some user's questions...

WebDNA Modules

A list of the currently available modules...

Tips and Tricks

A list of user-submitted tips ...

WebDNA Libraries

A list of available libraries for WebDNA...

Related Readings:

Cloning a Record

Often...

Export data to Excel

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

How old am I?

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

Hideif on IP range

This will show or hide stuff according to the IP...

ImageMagick

Use ImageMagick to manipulate images when you upload them...

Annoying character on writefile

How do I get rid of or convert the line feed character during a writefile?...