Jump to content

Recommended Posts

Nothing at all.

Only your public IP can be got at which is the IP assigned by your ISP. You do not browse on a private IP such as 192.168.x.x

 

Why would you want this address anyhow. It will not give you any information on who the person is?

not possible at all, the addresses behind a router are internal addresses and cant be routed at all unless if they are mapped onto the router and represented as a whole bunch by that single router ip address which u r able to detect.  The ONLY way I know of getting behind an ip address which is not a router is by  forwarding certain ports - something usually down on firewalls and then access your inside PC remotely using programs like putty. 

http://ip-lookup.net/index.php

 

This page uses avascript to do it, you would need to run local javascript/flash code etc, something that the client downloads and runs on the users machine rather than executed code like php on the server.

 

I dont know about javascript unfortunately maybe someone else can help you :P.

I am creating an online game which requires people to log on from as many different ip addresses as they can.

 

In large networks such as the ones in colleges and universities it would be handy if I could record the ip address of the individual computer rather than the one ip address for the router that every computer is connected to.

 

I will look into the javascript method and see if that will be of any use. Thanks

If you can, you probably have to use an ActiveX control to do it. Which the user has to allow to be installed. I am not sure, cause I have never been able to do it, nor have I really looked. But with an activex control allowed by the user I am sure it is possible.

Is it possible to use PHP to detect the IP of a particular computer behind a router?

 

Just now im using

 

$_SERVER['REMOTE_ADDR']

 

But it seems to only detect the routers IP address

 

Networking Basics to be honest. NO external host can see the internal network IP of a person's machine unless the person specifically allows it, e.g ActiveX control.

I am creating an online game which requires people to log on from as many different ip addresses as they can.

 

In large networks such as the ones in colleges and universities it would be handy if I could record the ip address of the individual computer rather than the one ip address for the router that every computer is connected to.

 

I will look into the javascript method and see if that will be of any use. Thanks

What in the world kind of game is that? Log on from as many IPs as possible. It almost sounds to me like a hacking/cracking ploy. Could you please elaborate on the actual gameplay of this game.

True that, but the OP said this game requires people to log on from as many IPs as they can.  It's just worded so oddly.  I mean, what's gonna happen if you log in from the same IP twice? Does it restrict you access until you find a new one?  Do you get points for every new IP? Why would you make a game getting people to collaboratively collect IPs?  It's as if you were making a pretend online computer census......which would explain the need for private IPs.

 

The only way you'll get these private IPs is if you can get software installed behind the router of a user and then have it send the information back.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.