Re: Blocking off access
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63202
interpreted = N
texte = Hi FrankThe conversion worls perfectly, I am for some reason not getting a resultwith the search[!]Search code[/!][Searchdb=ip-to-country.db&ipFromtype=num&ipTotype=num&geipFromdatarq=[ipnumber]&leipTodatarq=[ipnumber]&max=1][Founditems]{Insert whatever code you need to do what you want to do with thenationality data}[/Founditems][/Search] ipFromtype ipTotype Ccode Cabr countrycode 982745088 982761471 AF AFG AFGHANISTAN 1049547296 1049547327 AF AFG AFGHANISTANThis is how the datebase is but nothing is returnedAny ideas?THanksPaul----- Original Message ----- From: "Frank Nordberg"
To: "WebDNA Talk" Sent: Sunday, October 09, 2005 8:56 AMSubject: Re: Blocking off access> 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/>-------------------------------------------------------------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:
Hi FrankThe conversion worls perfectly, I am for some reason not getting a resultwith the search[!]Search code[/!][Searchdb=ip-to-country.db&ipFromtype=num&ipTotype=num&geipFromdatarq=[ipnumber]&leipTodatarq=[ipnumber]&max=1][founditems]{Insert whatever code you need to do what you want to do with thenationality data}[/Founditems][/Search] ipFromtype ipTotype Ccode Cabr countrycode 982745088 982761471 AF AFG AFGHANISTAN 1049547296 1049547327 AF AFG AFGHANISTANThis is how the datebase is but nothing is returnedAny ideas?THanksPaul----- Original Message ----- From: "Frank Nordberg" To: "WebDNA Talk" Sent: Sunday, October 09, 2005 8:56 AMSubject: Re: Blocking off access> 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/>-------------------------------------------------------------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/
"paul"
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:
problems with 2 tags (1997)
2.0 Info (1997)
Help! WebCat2 bug (1997)
formatting dates from a field ... (1997)
WebCat2 beta 11 - new prefs ... (1997)
[WebDNA] [OT] economical reliable SSL certs? (2009)
You sent this to me by mistake. (1998)
[WebDNA] upload image files.... (2018)
HTML Editors (1997)
Linux ODBC and the ODBC Bridge (2000)
Re:WebCatalog/WebMerchant III (1998)
attachment (2000)
REDIRECT MULTIPLE RESULTS (2000)
Nesting format tags (1997)
[WebDNA] Build Name for 6.1 (2008)
RequiredFields template (1997)
Formulas.db + Users.db (1997)
[WebDNA] [SETMIMEHEADER] (2013)
Price written to db as scientific notation??? (1999)
Problems with [Search] param - Mac Plugin b15 (1997)