Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Question about IP Look-up service
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AnonJr
Moderator

United States
5768 Posts

Posted - 13 June 2008 :  14:43:13  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Is there a reason that there are different services being used in different areas? In pop_viewip.asp, inc_profile.asp (x2), and admin_accounts_pending.asp its http://samspade.org/whois/[IP] but in admin_member_search.asp its http://ws.arin.net/cgi-bin/whois.pl?queryinput=[IP]

I noticed this while I was looking at saving the URL in a variable declared in config.asp so if I wanted to change services I only had to change it in one place. Just being lazy efficient.

I was just curious if there was a specific reason or if there was some sort of an oversight when it got changed some time in the past.<

phy1729
Average Member

USA
589 Posts

Posted - 13 June 2008 :  16:05:53  Show Profile  Reply with Quote
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=66482

I changed it and put in config.asp put something like strIPWhois. I don't have access to my files right now but if you're interested I'll post the changes. To answer your question, I think it's from a previous version because when I was changing it i never noticed a link to arin.<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 13 June 2008 :  16:11:25  Show Profile  Visit AnonJr's Homepage  Reply with Quote
I knew about the change in the samspade.org format, it was just finding the two ws.arin.net links in admin_member_search.asp kinda threw me for a loop. I've already made the change in config.asp and left myself a note so I'll remember.

'#################################################################################
'## strIPLookup is the address of the service you want to use for looking up IP
'## addresses. It assumes the IP address is going to be appended on the end of the
'## URL. If this isn't the case then you will need to make some changes in 
'## pop_viewip.asp, inc_profile.asp (x2), admin_accounts_pending.asp, and 
'## admin_member_search.asp (x2)
'## 
'## To change, comment out the one in use and uncomment the one you want to use
'## or add your own.
'#################################################################################
Dim strIPLookup
strIPLookup = "http://samspade.org/whois/"
'strIPLookup = "http://ws.arin.net/cgi-bin/whois.pl?queryinput="
<

Edited by - AnonJr on 13 June 2008 16:12:06
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07