Function 1 : array_rand Get a random variable in an array. Function 2: strip_tags Get rid of HTML tags in paragraph. Mostly use in CMS Function 3: strftime This function change type of date, time as we want Function 4: basename Get only a file name. Function 5: list Re-assign variable in an array Function […]
Forcing visitors to use SSL can be accomplished through your .htaccess file using mod_rewrite module. we have to force browsers to use secure connection only for sensitive pages like checkout, login pages..etc. Most of the payment gateways require SSL connection to processed and sent transactions otherwise they just hold the transaction. Here’s a quick way […]
Below is the simple PHP function to check for valid email address.
Below is the list of safe fonts for websites Have I missed anything here on the list, let me know via comments I will add it to the list.