PHP Code Samples

User Login Session Timeout Logout in PHP

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 ...

November 24th, 2014

PHP CRUD with Search and Pagination

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

November 2nd, 2014

Command Line PHP

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 ...

August 25th, 2014

Send Email in PHP using Gmail SMTP

Sending email is a simple and straightforward task in PHP. Yes! trust me. For some beginners and sometimes even the experienced too struggle ...

December 5th, 2013

PHP cURL

cURL – Client URL library is used to communicate with different types of servers with protocols FTP, HTTP, telnet, gopher and more. In ...

October 18th, 2013

PHP Change Password Script

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 ...

September 15th, 2013

PHP Login Script with Session

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 ...

July 22nd, 2013

PHP Mail

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

June 4th, 2013

PHP User Authentication with MySQL

A very simple code in PHP to create user login authentication to help beginners to start with. ...

May 7th, 2013

↑ Back to Top