You just need to use the following server PHP variable:
$_SERVER['REMOTE_ADDR']
Code language: PHP (php)
More info about Server Variables at PHP.net
HTML, CSS and JavaScript
You just need to use the following server PHP variable:
$_SERVER['REMOTE_ADDR']
Code language: PHP (php)
More info about Server Variables at PHP.net