Archives by date

You are browsing the site archives by date.

Sending emails in PHP & email injection attacks

Learn to send HTML emails in PHP using the mail() function. Also learn how to prevent email injections or PHP mail form spam.

PHP FTP functions tutorial

Learn to use PHP’s FTP functions to create directories and files and change file mode. Also learn how to write data to configuration files in a more secure way.

Handling forms in PHP

Handling forms in PHP

A simple tutorial on handling forms in PHP. More often than not, this the first stumbling block for most PHP beginners.

Prevent Duplicate Form Submission

Learn how to use PHP sessions to prevent duplicate form submission or re-submission.

Organize project through include files

A tutorial on how to use a include files to organize your PHP project.

PHP MySQL Login Script

Login and user authentication is the most common feature in any dynamic website. Read this article to learn how to develop a login module of your own.

PHP MySQL Basics Tutorial

PHP and MySql are the most common and popular combination you would come across on the Internet. Affordable Linux hosting, open source nature of these two technologies and the freedom from expensive proprietary licenses are the main reasons for the success of this combination.

Common PHP session errors

Common PHP session errors

Lists some of the common problems faced while using sessions in PHP and how to deal with them.

Getting started with PHP sessions

HTTP is a stateless protocol. That is, a HTTP request to a website has no information or record of the preceding requests. This is where sessions come into picture. Sessions is a mechanism to preserve data across subsequent accesses. Using sessions, a website is able to maintain state, that is, remember which requests they received previously. Without sessions, websites would have not have progressed beyond simple static HTML pages.