This tutorial is really helpful to those of us who are a little intimidated by PHP:form. All of those hard to answer questions are easily explained in this simple to use educational web page.
Passing JavaScript variables to PHP PHP / Miscellaneous
JavaScript is mainly used as a client side scripting language, while PHP is a server side technology. Unlike Java or ASP.Net, PHP doesn't have tools to make it work client side. That is why you need to combine JavaScript and PHP scripts to develop powerful web-applications.
Validation on the Server and Client PHP / Security
Validation is essential to web database applications. Ensuring that data meets user and system requirements is important, but ensuring that the database constraints are met by the data is critical. There are three possible data environments in which validation can occur in a three-tiered web database application: in the DBMS, in server-side scripts, and on the client. We discuss the merits and possibilities of these approaches to validation in this tutorial.
An Expandable Form Validation Class: Part 1 PHP / Forms
Learn how to create an expandable Form Validation Class, that once complete, you will able to use in any of your PHP scripts. The beauty of this Class is that it is expandable with ease. This means that once the base code of the Class is complete, you can easily configure it to validate different types of form data with virtually no changes. The extra configurations will only be limited to your programming knowledge.
Email validation with regular expression PHP / Regex
A short tutorial howto validate an email address during form processing. An example "copy & paste" html form code is included to demonstrate the functionality.
Phorm Manager PHP / Forms
In this part four of a series on HTML form handling with PHP, it explains how to create a powerful PHP form handler, called Phorm Manager.
Sessions PHP / Sessions and Cookies
Stateful web database applications can be built using sessions, and session management is the topic of this tutorial. In this tutorial we:
* Discuss how sessions are managed in the stateless environment of the Web and introduce the three characteristics of server-side session management
* Introduce cookies for storing state
* Show how to use and configure the PHP session management library
* Use PHP session management to improve the client entry <form> in the winestore case study
* Provide a brief list of reasons for using, or avoiding, session management over the Web.
Building an FTP client with PHP PHP / File Operations
PHP being such a versatile language to work with and FTP being such a simple protocol would tempt anyone to attempt an FTP client from the ground up. This four part article will introduce you to the protocol and help you build you own client. Sample code is included.
An Expandable Form Validation Class: Part 2 PHP / Forms
In Part 1 of this tutorial, we covered the basics of our Form Validation Class. We explained how the core of the Class depends on regular expressions and gave an insight regarding the keyword concept. We also explained how each keyword will have a corresponding Class Method so that we can easily extend the Class in the future to suit our needs. In Part 2, we will get our hands dirty in creating the remaining useful Class Methods that will instruct the Class which form fields to validate and how to validate them.
Get the full URL of your page using PHP PHP / General Development
Very often we need to have the ful URL of the page and use it somehow in our code, for example a dynamic script with social bookmarks or anything else we can think of. This can be done using Javascript but I prefer to use PHP since it's not based on the client side and it works with or without Javascript turned on in our browsers.
File System PHP / File Operations
One of the most useful features of a server side language is its ability to interface with the file system on the server that hosts the website. This feature clearly distinguishes the language from a client side language such as JavaScript. While JavaScript is sent down to the client's browser and is then interpreted on their computer, server side languages such as PHP are interpreted and resolved on the server, and only the end result is sent down to the client's browser. It is because of this fact that the language has the ability to interface with the files on the server. PHP has the ability to work with both text files and sophisticated database systems. This part of the tutorial discusses text files; we'll get into databases later.
Creating a PHP Quiz Page PHP / Getting Started
PHP can be used to evaluate Quiz pages. The quiz page may be written in a normal form fashion, either multiple choice or True-false. After you create this form page, setting your PHP page as the action for the form, your php page can pick up the variables and evaluate the results of the form, scoring the form.
PHP Babysteps Tutorial PHP / Getting Started
PHP is a server-side scripting language for creating dynamic Web pages. It has a very elegant design, that is both easy to use and powerful. PHP stands for PHP: Hypertext Preprocessor. It is a server side, HTML embedded language like ASP, SSI etc.
Creating a PHP form PHP / Forms
PHP is a great processor of forms, hence knowing how to write a simple form for php processing is the precursor to make the PHP work.
PHP form Introduction PHP / Forms
This article demonstrates how to use PHP forms. You will find detailed information from the form basics to advanced form processing.