Tagged: IPaddress

How to Find Default Gateway in Linux

A gateway is a node or a router that acts as an access point to passes network data from local networks to remote networks. There are many ways to find out your gateway in...

PHP Client IP address

PHP Client IP address

Many times we need the visitor’s ipaddress for validation, security, spam prevention, etc. Getting the Visitor’s ipaddress is very easy in PHP. The simplest way to get the visitor’s/client’s ipaddress is using the$_SERVER[‘REMOTE_ADDR’] or $_SERVER[‘REMOTE_HOST’] variables. 1...