Re: Blocking off access

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63201
interpreted = N
texte = paul wrote: > The other database is in thisformat .... > Would need to find a way to convert dotted IPs to this That was the first part of the code I posted earlier: [TEXT]ipnumber=[MATH][LISTWORDS words=[IPADDRESS]&delimiters=.]([WORD][SHOWIF [INDEX]<4]*256[/SHOWIF][SHOWIF [INDEX]<3]*256[/SHOWIF][SHOWIF [INDEX]<2]*256[/SHOWIF])+[/LISTWORDS]0[/MATH][/TEXT] This converts the dotted ip address collected by WebDNA to a pure numeric value in the right format and stores it as a variable named [ipnumber] I'm sure there are more elegant solutions, but this one'll work fine. Frank ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Blocking off access ( Dale-List 2005)
  2. Re: Blocking off access ( Terry Wilson 2005)
  3. Re: Blocking off access ( Frank Nordberg 2005)
  4. Re: Blocking off access ( "paul" 2005)
  5. Re: Blocking off access ( "paul" 2005)
  6. Re: Blocking off access ( Frank Nordberg 2005)
  7. Re: Blocking off access ( "paul" 2005)
  8. Re: Blocking off access ( Frank Nordberg 2005)
  9. Re: Blocking off access ( "paul" 2005)
  10. Re: Blocking off access ( Frank Nordberg 2005)
  11. Re: Blocking off access ( "paul" 2005)
  12. Re: Blocking off access ( Frank Nordberg 2005)
  13. Re: Blocking off access ( Frank Nordberg 2005)
  14. Re: Blocking off access ( "paul" 2005)
  15. Re: Blocking off access ( Dale-List 2005)
  16. Re: Blocking off access ( "paul" 2005)
  17. Re: Blocking off access ( "Kenneth Grome" 2005)
  18. Re: Blocking off access ( WJ Starck 2005)
  19. Re: Blocking off access ( Donovan Brooke 2005)
  20. Blocking off access ( "paul" 2005)
paul wrote: > The other database is in thisformat .... > Would need to find a way to convert dotted IPs to this That was the first part of the code I posted earlier: [text]ipnumber=[math][LISTWORDS words=[ipaddress]&delimiters=.]([WORD][SHOWIF [INDEX]<4]*256[/SHOWIF][SHOWIF [INDEX]<3]*256[/SHOWIF][SHOWIF [INDEX]<2]*256[/SHOWIF])+[/LISTWORDS]0[/MATH][/TEXT] This converts the dotted ip address collected by WebDNA to a pure numeric value in the right format and stores it as a variable named [ipnumber] I'm sure there are more elegant solutions, but this one'll work fine. Frank ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Frank Nordberg

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Snake Bites (1997) RE: [WebDNA] V8.6 FCGI (2018) web delivery (1997) SOLUTION.... Balancing randomness (2000) NTbeta18 corrupted? (1997) [carts] and databases (1997) Make sure I understand this??? (1997) emailer (1997) [WebDNA] Sorry WebDNA server not running. (2015) MacAuthorize order data fields WAS:How To question... (1997) Code shows all, but should not (2003) Adding Shipping Costs based on percent of subtotal (1997) Setting up shop (1997) Template Encrypt Speed (1998) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) Re:Remote stockroom ? (1998) DON'T use old cart file! (1997) webDNA on centos (2008) NetCloak as Emailer substitute? (1999) Configuring E-mail (1997)