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

  • Home
  • SEARCH
  • 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 697307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:09:16+00:00 2026-05-14T03:09:16+00:00

Hello guys. I think it isn’t possible just using PHP, but just to be

  • 0

Hello guys.

I think it isn’t possible just using PHP, but just to be sure.

  • Is it possible for PHP to know if the
    user is accessing the web from behind
    a Router?
  • And if yes, how can i get some
    information about that router, like:

    • Router Name, Brand, Serial Number, …
    • Users connected in the same network.
  • Can PHP also find the Local IP
    Address for the visitor in that
    Network?

A few simple questions. To which i haven’t found a solid answer, and i tough that some PHP genius could tell me. And teach me.

Thanks for your help.

EDIT: Motives for this privacy invasive question

I didn’t thought that i had to say this… But i guess i do

I was writing a couple functions that would get the browser preferred languages and finding out from which Country the user comes based on the IP, to deliver my website content in the right language to the visitor.

Then i started to think, most people browse from behind the router, can i find out if they are indeed?


Then it just came to my mind to do one of those simple programs that display network details, people connected on your network. My idea was to do that, but Web App Based not Desktop App Based as all other programs of this kind.

I appreciate privacy above everything as most developers do, so i kind of understand the Down Votes, i would probably Down Vote myself.

I’m sorry if you misjudge me due to my weird question, i have nothing to do so.. These things just popped up on my head.

  • 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-14T03:09:17+00:00Added an answer on May 14, 2026 at 3:09 am

    First, are you talking about finding out information about users visiting your website? Keep in mind that this implies an intrusion into their privacy (you can try it with yourself though ;))

    Is it possible for PHP to know if the user is accessing the web from behind a Router?

    No you cannot. Only when you know that e.g. you have a lot visitors from one company and they all have the same IP address, they might be behind a router but it could also be a proxy.

    And if yes, how can i get some information about that router, like:

    • Router Name, Brand, Serial Number, …

    If you have the IP you might be able to discover various things about a host with tools such as nmap. You might be able to find out the brand of a router and host system but definitely not serial number and such stuff. nmap is not PHP though.
    Note: The use of such tools without permission to do so is illegal in some countries. In any way, the use of such tools without permission is morally questionable .

    • Users connected in the same network.

    As I mentioned in the first question, if you have different users with the same IP address they might be in the same network. They could also be in different sub-networks. Anyway you cannot get their local IP addresses.

    Can PHP also find the Local IP Address for the visitor in that Network?

    See previous answer.


    You see, everything is very vague and mostly based on assumptions. You cannot get reliable information and I am very glad that we are not totally transparent yet.

    Once we all use IPv6, the whole story is a different one.

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

Sidebar

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.