PHP Tutorials Articles

Learn more about using PHP for web application development. Articles in this category will be geared towards teaching you new things you may not already now about PHP and how to get the most out of its features.

Basic PHP Form Processing

Have you been learning how to create and design web pages? You can create lists, tables, images and forms and make them look good with CSS. Do you wonder "what can I do with these forms?" Without some server-side program to handle the form processing, you are left with the option of setting the action to "mailto:someaddress@somehost.com" .

This tutorial will show how to create a generic form processor that will use PHP's mail() function to send the data submitted in the form in a more nicely formated manner to an email address you specify. This will help keep your email address away from 'bots' and allow you some limited error checking.

Restricted Users Areas with PHP

This article will show you how to create a user authentication and restriction system using PHP and MySQL. It will guide you through the entire process of creating a user registration and authentication system. This system will be easy to use and include in your websites pages, allowing you to restrict access to pages by including just a couple of lines at the begining on any page.

If you want to learn how to register users to your site and restrict the content of certain pages, or are just curious to see another way to carry it out, read along and enjoy the story!