Re: Sorting nested search

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49033
interpreted = N
texte = This should do it for you .. Just need to replace the [ip_address] variable ..[text]ip_address=210.55.24.6[/text][text]crlf=[unurl]%0D%0A[/unurl][/text][middle startafter=OrgName:&endbefore=OrgID:] [tcpconnect host=ws.arin.net&port=80] [tcpsend][!] [/!]GET /cgi-bin/whois.pl?queryinput=[ip_address] HTTP/1.0[crlf][!] [/!]Referer: http:/[thisURL][crlf][!] [/!]Host: ws.arin.net[crlf][!] [/!][crlf][!] [/!][/tcpsend] [/tcpconnect] [/middle] Alain> Just finishing this up. > > I want to query > http://ws.arin.net/cgi-bin/whois.pl?queryinput=[ipaddress] > > with the ipaddresses in my temp.db > > Then I want to pull the text following OrgName. > > For example, > http://ws.arin.net/cgi-bin/whois.pl?queryinput=205.188.209.107 > > Returns the text: > > OrgName: America Online, Inc > OrgID: AMERIC-59 Address: 22080 Pacific Blvd > City: Sterling > StateProv: VA > > > > I want get the text following OrgName, in this case America Online, Inc. > > I know I have to use [tcpconnect]. Anyone care to give me some pointers? > > Thanks, > > -Will > > On Sunday, March 30, 2003, at 09:00 PM, Donovan home EHG wrote: > >> >> >> WJ Starck wrote: >> >>> Thanks, Donovan. >>> >>> I need a temp db with 2 fields, ipaddress and frequency. >>> >>> How do I create this? >> >>> >>> >>> I thought of using [writefile], but the docs say the name should not >>> be >>> a database that WebDNA currently has open. So do I have to have a >>> [closedatabase] tag in my template after the results are displayed? >> > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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: Sorting nested search (Alain Russell 2003)
  2. Re: Sorting nested search (WJ Starck 2003)
  3. Re: Sorting nested search (Alain Russell 2003)
  4. Re: Sorting nested search (WJ Starck 2003)
  5. Re: Sorting nested search (WJ Starck 2003)
  6. Re: Sorting nested search (Donovan home EHG 2003)
  7. Re: Sorting nested search (WJ Starck 2003)
  8. Re: Sorting nested search (Donovan home EHG 2003)
  9. Re: Sorting nested search (Tim Robinson 2003)
  10. Sorting nested search (WJ Starck 2003)
This should do it for you .. Just need to replace the [ip_address] variable ..[text]ip_address=210.55.24.6[/text][text]crlf=[unurl]%0D%0A[/unurl][/text][middle startafter=OrgName:&endbefore=OrgID:] [tcpconnect host=ws.arin.net&port=80] [tcpsend][!] [/!]GET /cgi-bin/whois.pl?queryinput=[ip_address] HTTP/1.0[crlf][!] [/!]Referer: http:/[thisurl][crlf][!] [/!]Host: ws.arin.net[crlf][!] [/!][crlf][!] [/!][/tcpsend] [/tcpconnect] [/middle] Alain> Just finishing this up. > > I want to query > http://ws.arin.net/cgi-bin/whois.pl?queryinput=[ipaddress] > > with the ipaddresses in my temp.db > > Then I want to pull the text following OrgName. > > For example, > http://ws.arin.net/cgi-bin/whois.pl?queryinput=205.188.209.107 > > Returns the text: > > OrgName: America Online, Inc > OrgID: AMERIC-59 Address: 22080 Pacific Blvd > City: Sterling > StateProv: VA > > > > I want get the text following OrgName, in this case America Online, Inc. > > I know I have to use [tcpconnect]. Anyone care to give me some pointers? > > Thanks, > > -Will > > On Sunday, March 30, 2003, at 09:00 PM, Donovan home EHG wrote: > >> >> >> WJ Starck wrote: >> >>> Thanks, Donovan. >>> >>> I need a temp db with 2 fields, ipaddress and frequency. >>> >>> How do I create this? >> >>> >>> >>> I thought of using [writefile], but the docs say the name should not >>> be >>> a database that WebDNA currently has open. So do I have to have a >>> [closedatabase] tag in my template after the results are displayed? >> > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Alain Russell

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:

WC2b15 File Corruption (1997) referrer and no caches (1997) webmerchant/ Mac Auth. and CC refunds (1998) Banners (1997) Cookie still not working (1999) Using [Showif] tag. Mac (1997) [WebDNA] Crashing Database (2011) Database (2000) expired beta (1997) The beginning (1997) Date errors? (1999) [WebDNA] WebDNA hosting for $10 a month (2010) Can't load tmpl files (1997) Hosts who have upgraded to v5.0? (2003) credit card services (1997) One Hour Email (2002) Sendmail and textarea (1998) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Forcing a NEWCART (1997) Locking up with WebCatalog... (1997)