Category: PHP

How to create custom php.ini file in CPanel?

We can create our own php.ini file in godaddy cpanel and other hosting too. We can increase upload_max_filesize, post_max_size, max_file_uploads, memory_limit, max_execution_time etc in php ini file in cpanel. So basically, Almost server like godaddy server, a2hosting server, hosting raja server that provide basic configuration in default php ini file. so some time we need

How to change date format in PHP?

In this post, i would like to share with you how do i change date format DD/MM/YYYY to YYYY-MM-DD, MM-DD-YYYY to YYYY-MM-DD, d/m/Y to Y-m-d in php. we will convert date format using date() and strtotime() of php. I will give you very simple example that helps you to simply change date formate in php.

How to Partially hide email address in PHP?

Here, i will let you know partially hide email address using php. we can hide email address as like freeit******@g***.com. you will learn How to Partially hide email address in PHP?. As you notice on facebook, google etc social media, when you forgot password then they will show you partially hide email address so use