Developing Authenticating Forms

Forms are really not a PHP function per se. They are an HTML structure that enables you to submit user inputs to a remote server. You can have one or several forms in any rendered page. When you have more than one form on a page, you will have to choose how to process information. The standard RPC model is to submit one form at a time, but you can use AJAX methods to asynchronously submit and refresh components one at a time. This approach enables you to process multiple forms asynchronously by capturing a single user event and mapping it to multiple URL submissions.

The examples in this chapter adhere to the simpler RPC model because the point is to illustrate how web application forms interact to manage data. ...

Get Oracle Database 10g Express Edition PHP Web Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.