PHP Code Samples

Recent Tutorial

PHP Mail

June 4, 2013
PHP provides mail() function for sending simple mail using PHP scripts. For that, the mail() function requires three arguments compulsorily and also two optional arguments, so totally five possible arguments as shown below. Recipient Email Address (Mandatory). Email Subject (Mandatory) Email Context or Message Body (Mandatory) Additional Header Information (Optional) Additional Parameters (Optional) First three […]
This tutorial was added to PHP.

PHP User Authentication with MySQL

May 7, 2013
In this tutorial, we are going to see how to implement user authentication mechanism in PHP using MySQL. Authentication is used validate users entering into our website. It protects our website by preventing anonymous access and allows genuine users who clear authentication process. In this user authentication example, it has a login panel to let […]
This tutorial was added to PHP.

↑ Back to Top