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

Technical Change History

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

WebDNA Libraries

A list of available libraries for WebDNA...

[biotype]

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

AWS Raw WebDNA LAMP-Plus WebServer

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

Related Readings:

Spaghetti code

How to get rid of very long search strings...

Find duplicate records

Find duplicate records and do something with them...

How to keep the text variable after a function has finished

By default...

Formatting a long list in a table

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

Handling credit card numbers

Encrypting the credit card numbers does the job quite nicely...

Redefining [date] & [time] to match your time zone

Your server is not always in the same time zone as your web site...