Hello,

I am working on a system that logs someone in, from their IP address and not their username and password.
The thing is, I need to access the remote IP address rather than the router's IP address.

For example

<?php
    echo $_SERVER['REMOTE_ADDR']; 
?>

Will only display their router IP, the one that everyone is connected to on the network and I want to display the unique IP the router establishes for them.

Any ideas?

Most routers mask the internal IP address.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.