Category: PHP

ESP8266 Power Monitor

Energy Monitoring using ESP8266 Last month we have been using air-conditioning for more than usual. And when I received the bill, the bill was 46 USD but previously the bill never gone up above...

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...