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

Restoring a MySQL table back to the database

Restoring a MySQL table back to the database

When we need to restore a single MySQL table from big data MySQL backup.  Most modern text editors should be able to handle a text file that size, if your system is up to it....

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

CodeIgniter Dropdown filtering with Ajax

CodeIgniter Dropdown filtering with Ajax

Rather than using pure php, when it comes to a framework, working with ajax become much tricky. Since codeigniter using inbuilt MVC architecture, we have to consider the routing pattern of the application as...