19
Jun
Jun
How to get user’s IP address
The environment variable $REMOTE_ADDR is where the users IP address is stored. if you want to resolve the domain name for that IP you can use this code.
$domain = GetHostByName($REMOTE_ADDR);
Ang "Balitaktakan" ay usapin o diskusyon, kalimitan ay mainit o malalalim ang pinag-uusapan, na kung saan ang pagkakaiba ng matitinding opinyon ay napapahayag.
The environment variable $REMOTE_ADDR is where the users IP address is stored. if you want to resolve the domain name for that IP you can use this code.
$domain = GetHostByName($REMOTE_ADDR);