Press "Enter" to skip to content

Posts published in “PHP”

How to see the exact IP Address when using cloudflare?


Hi everyone, When you are using Cloudflare it will mask the Client Ip address, So cloudflare provide us variable that help to find the actual IP address of users. Check below to code the variable…

Configuration setting for .conf file in apache


Hello everyone, You are here it means you stuck in your server setting, so please add this code in your /etc/apache2/sites-available/ directory for configuring your domain to your server. After saving this file with nano command, or whatever your…

How to create Remember me function in PHP with CodeIgniter?


Hi Guys, In this tutorial I am going to create Remember me function in PHP with Cookie, Remember me function is used to save user password and username when user click on checkbox Remember me.…

Import/Export database using mysql/mariadb console


Sometime we got big database and stuck on the limit of phpMyAdmin upload limit, so here is the solution to import the big mysql file with command line:- First login to the mysql/mariadb using command:-…

What is the difference between MyISAM and InnoDB?


MYISAM MYISAM supports Table-level Locking MyISAM designed for need of speed MyISAM does not support foreign keys hence we call MySQL with MYISAM is DBMS MyISAM stores its tables, data and indexes in diskspace using…

How to reverse value of integer or string in php?


The logic of the below methods will help you to reverse the integer in any language, here I am doing it in PHP. So let’s create a function with the name of reverse_integer:- it will…