Re: Sorting ip addresses

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42691
interpreted = N
texte = Put four fields in your database and store IP's in blocks then COL1sort=1&COL2sort=2COL3&sort=3&COL4sort=4On 20/8/02 11:12 AM, Glenn Busbin wrote:>> Has anybody applied a successful sort to a range of ip addresses? I'm brain >> dead at the moment. If I don't specify the address as a number, it sorts >> .1, .10, ,.100, .101, .102 (<- last octets) etc. If I specify that it is a >> number it whacks out because of the periods. Maybe a converchars to remove >> the periods just for sorting.....? > > I think you need 3 digits per octet before WC will sort or do showif's > properly. > > Glenn > > ------------------------------------------------------------- > 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://search.smithmicro.com/-- Andrew Simpson Web DevelopmentBlackpepper Interactive Ltd PO Box 99805 Newmarket4 Clayton Street Newmarket AucklandPh: +64 9 520-6281 Mob: 0272733270 Fax: +64 9 524-1849http://www.blackpepper.co.nz------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Sorting ip addresses (Dale Therio 2002)
  2. Re: Sorting ip addresses (Gary Krockover 2002)
  3. Re: Sorting ip addresses (Andrew Simpson 2002)
  4. Re: Sorting ip addresses (Glenn Busbin 2002)
  5. Sorting ip addresses (Gary Krockover 2002)
Put four fields in your database and store IP's in blocks then COL1sort=1&COL2sort=2COL3&sort=3&COL4sort=4On 20/8/02 11:12 AM, Glenn Busbin wrote:>> Has anybody applied a successful sort to a range of ip addresses? I'm brain >> dead at the moment. If I don't specify the address as a number, it sorts >> .1, .10, ,.100, .101, .102 (<- last octets) etc. If I specify that it is a >> number it whacks out because of the periods. Maybe a converchars to remove >> the periods just for sorting.....? > > I think you need 3 digits per octet before WC will sort or do showif's > properly. > > Glenn > > ------------------------------------------------------------- > 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://search.smithmicro.com/-- Andrew Simpson Web DevelopmentBlackpepper Interactive Ltd PO Box 99805 Newmarket4 Clayton Street Newmarket AucklandPh: +64 9 520-6281 Mob: 0272733270 Fax: +64 9 524-1849http://www.blackpepper.co.nz------------------------------------------------------------- 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://search.smithmicro.com/ Andrew Simpson

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:

[WebDNA] SkipJack Authorize interface help (2009) credit card - Revised (1997) 'does not contain' operator needed ... (1997) math with multiple [founditems] (1999) Further tests with the infamous shipCost (1997) quantity minimum problem (1997) Emailer choke (1997) Problems with [Applescript] (1997) declined orders webmerchant not showing up? (2005) Template not found error messages (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) sort (2000) Need relative path explanation (1997) WCS Newbie question (1997) Server Error Question (2004) [WebDNA] cron - curl to replace triggers.. (2009) [ShowIf] and empty fields (1997) Creating a back button (1999) WebCat b13 CGI -shownext- (1997) Displaying photo attached to first record (1997)