How can LAN IPs of users be retrieved in a PHP survey conducted within a Win2k domain?
To retrieve LAN IPs of users in a PHP survey conducted within a Win2k domain, you can use the $_SERVER['REMOTE_ADDR'] variable to get the IP address of the user accessing the survey. This variable will typically return the public IP address of the user, which may be sufficient for your needs. However, if you specifically need the LAN IP address, you may need to look into alternative methods such as using JavaScript to retrieve the local IP address or implementing a server-side solution within your network.
$user_ip = $_SERVER['REMOTE_ADDR'];
echo "User's public IP address: " . $user_ip;