get ip of who accessed website in php code example Example: php get client ip $_SERVER['REMOTE_ADDR']