Category Archives: Php

Generate Random Token number in Php using mt_rand function

Mostly in cases of User verification we use Random number as a Token Code of Verification that are combination of characters and numbers and send via Email Verification link or by SMS. But it is more important that new generated token number will be generate all time unique for different different user. in this Article… Read More »

Category: Php

Date and time format in PHP with example

Today, In this article i will explain date various format in PHP and how to use it in Php according to our requirement in Programming functionality. In Php, date() function accepts two parameters. That are Format string and time as integer. Let’s play with Date() function by examples. Date formatting : echo date(“d-m-y”, time()); //… Read More »

Category: Php