PHP Code Samples

Show PHP Captcha on Failed Login Attempts

February 2nd, 2015
In this tutorial, we are going to show captcha code if a user tried more than 3 failed login attempts. In the previous tutorial, we have see

User Login Session Timeout Logout in PHP

November 24th, 2014
This PHP tutorial is used for setting user login session expiration time for the logged-in user. Once, this time is elapsed then the user no

PHP CRUD with Search and Pagination

November 2nd, 2014
Making a CRUD system is one of the prime and regular requirements in most of the software. It is nothing but the collection functionalities

Command Line PHP

August 25th, 2014
Using PHP though command line is possible and we will see how to do it in this tutorial. Generally, PHP is used for creating web-based appli

Send Email in PHP using Gmail SMTP

December 5th, 2013
In this tutorial, let us see how to send email in PHP using PHPMailer library via Gmail SMTP. Sending email in PHP can be done with various

PHP cURL

October 18th, 2013
cURL – Client URL library is used to communicate with different type of servers with protocols FTP, HTTP, telnet, gopher and more. In

PHP Change Password Script

September 15th, 2013
Change password feature in a web application is to let the user change their old password at some periodic interval. It makes the user prote

PHP Login Script with Session

July 22nd, 2013
In this tutorial, let us see how we can implement authentication using a standard login form with session handling. Most of the website will

PHP Mail

June 4th, 2013
PHP provides mail() function for sending simple mail using PHP scripts. For that, the mail() function requires three arguments compulsorily

PHP User Authentication with MySQL

May 7th, 2013
User authentication is a process of validating users with some keys, token or any other credentials. If the user gives correct credentials t

↑ Back to Top