PHP Code Samples

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
Sending email is a simple and straightforward task in PHP. Yes! trust me. For some beginners and sometimes even the experienced too struggle


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 create a login script with a session in PHP. It has a simple example of implementing user authentication. This exam

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