PHP Form Example

This chapter shows how to keep the values in the input fields when the user clicks the \"Submit\" button. PHP: Keep the Form\'s Values We put a small PHP script…

PHP Form Validation

PHP Form Validation When you process PHP forms, think about SECURITY! Here you will learn how to handle PHP forms in a way that is safe. To protect your form…

PHP Form

What does Form mean? A document with blank spaces where the user can type in data or pick it from a list. The data will be stored in the database…

Sessions in PHP

A session is a way to store data (in variables) that can be used on more than one page. The information is not stored on the user\'s computer like a…

PHP Cookies

What\'s a Cookie? Often, a cookie is used to figure out who a user is. A cookie is a small file that is put on the user\'s computer by the…

PHP Create and Write File

In this chapter, we\'ll show you how to make a file on the server and write to it. PHP Create File - fopen () A file can also be made…

PHP Opening and Closing Files

This chapter will explain how to do the following functions with files: Opening a file Reading a file Writing a file Closing a file How to Open and Close Files…

PHP File Handling

Managing files is an important part of any web app. For many tasks, you need to open and work on a file. PHP Handling Files PHP has a number of…

PHP File Include

The include (or require) statement adds all of the text, code, and markup from the given file into the file that uses the include statement. When you want to put…

PHP Superglobals Variables

Superglobals are built-in variables that are always available in all scopes. They were added to PHP 4.1.0. Some of PHP\'s predefined variables are \"superglobals,\" which means that you can always…