PHP Archive

5 Apr 2020

Enable PHP errors to Display on Web Browser

Generally, displaying PHP errors in a web browser is not a good idea as hackers cannot collect information about your website. However, when performing development or testing displaying PHP error may be very useful for troubleshooting purposes.
4 Aug 2015

Ago function in PHP

We always required time ago in our website. Here we have function for the same. You can enjoy with the embed in your website. Example of Ago function in PHP as below $datetime = '2015-07-31 22:00:00'; $time
29 Jul 2015

PHP mail function

This PHP mail function script has the ability to send a plain text email message. There are much better and more advanced PHP scripts on the Internet, but I hope this example will help you to understand,
24 Jul 2015

Send email using PHP Script with Gmail SMTP Authentication

All the programming languages provides functions for sending emails. PHP also provides mail() function to send emails. You can use the PHP mail() function to send an email with PHP. The simplest way to do this is
3 Jun 2015

How to handle deleted files in GIT

Git – Very useful and latest version control system. Now a days we use git for version control. Sometimes we stuck in error when we face following case 1) I have created new file and commited &