Link | RD_ValidIP |
Author | Rick Draper |
Category | Utility |
Version | 8.5.x |
License | Public Domain |
Posted | 25 Aug 2009 |
Updated | 25 Aug 2009 |
More by this author... |
Returns true for a valid IPv4 IP address
[RD_ValidIP('74.125.53.103'] --> TRUE [RD_ValidIP('202.')] --> FALSE [RD_ValidIP('74.125.53.256'] --> FALSE [RD_ValidIP('172.16.0.1'] --> TRUE
Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
[ Define_Tag( 'ValidIP', -Namespace='RD_', -Required='ip'); // concept by Bil Cory Local('Output') = false; Error_Push; Protect; #Output = client_ipfrominteger(client_iptointeger(#ip)) == #ip; /Protect; Return(#Output); /define_tag; ]
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft