Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7440465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:51:24+00:00 2026-05-29T10:51:24+00:00

I have a CVS database which gives a V6 range 2001:1800::/32 and a country

  • 0

I have a CVS database which gives a V6 range 2001:1800::/32 and a country code US. So far I have them in $ip_address $cc_code.

I need to store each range in MySQL. I also need take a user IP address and get the country code. I already got V4 working by storing a start and end range but the database already gave me that. So I’m stuck on getting V6 to work. I did some Google searches and can’t find much on this. Maybe I’m asking wrong? So can someone here give me some advice? I already know how to detect V4 and V6. So I have lots of it done so far. Just storing range/code and retiring it where i’m stuck.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:51:25+00:00Added an answer on May 29, 2026 at 10:51 am

    IP addressed are basically Integers, you just need to convert them and the interact with basic math skills: WHERE $ip BETWEEN start AND end. http://www.samclarke.com/2011/07/php-ipv6-to-128bit-int/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an online CVS repository that I need to check code into. However,
I have two CVS projects, which I maintain in Eclipse. I check out first
I have a cvs file which schema is, every field is surrounded with ,
I'd like to have all DB DDL code under CVS . We are using
I have a CVS server which is known to be ok (works from other
I have migrated a project from CVS to SVN. Now I need to rename
I have a CVS server with thousands of CVS repositories hosted on it. It
I have a large CVS repository containing files in ISO-8859-1 and want to convert
I have setup an anonymous cvs user to be able to check out my
I have some data in .cvs. I would like to make a simple barplot

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.