Fülszöveg
KkT» Ii -1 1
v'lfe
iiL^imaiisiiiâT^
Use PHP to accomplish real-world, professional tasks.
Incorporating five hands-on projects, PHP Professional Projects is your key to unlocking the power of PHP. Each project focuses on a specific PHP concept and is based on a real-world situation. You will be able to use the skills that you develop throughout the book to modify the projects as needed to fit your professional needs.
AVAILABLE ON THE
COMPHNION LUEB SITE!
All source code from the book's examples, as well as sample versions of the projects in the text are available at http://www.preniierpressbooks.coni/downloadii.asp.
CREATE A USER REGISTRATION FORM
Using various form elements, create a user registration form for an online shopping site. You will use PHP script to track form value and check for errors. Your PHP script will give you experience using variables, operators, and control stnictures.
STORE AND RETRIEVE DATA FROM FILES
Using the registration form that you have...
Tovább
Fülszöveg
KkT» Ii -1 1
v'lfe
iiL^imaiisiiiâT^
Use PHP to accomplish real-world, professional tasks.
Incorporating five hands-on projects, PHP Professional Projects is your key to unlocking the power of PHP. Each project focuses on a specific PHP concept and is based on a real-world situation. You will be able to use the skills that you develop throughout the book to modify the projects as needed to fit your professional needs.
AVAILABLE ON THE
COMPHNION LUEB SITE!
All source code from the book's examples, as well as sample versions of the projects in the text are available at http://www.preniierpressbooks.coni/downloadii.asp.
CREATE A USER REGISTRATION FORM
Using various form elements, create a user registration form for an online shopping site. You will use PHP script to track form value and check for errors. Your PHP script will give you experience using variables, operators, and control stnictures.
STORE AND RETRIEVE DATA FROM FILES
Using the registration form that you have just created, you wiH learn how to store data in a file and to retrieve the data using various file limctions. You will learn the basics of file handling such as reading and writing to a ffle as well as pack and unpack functions.
WORK WITH MYSQL USING PHP
Begin by creating a database table and inserting data with a form and PHP script. Query your database table based on specific criteria and allow results to be displayed. Further your understanding of handhng data storage and using PHP with a SQL database.
CREATE A CATALOG AND SHOPPING CART
Cover all of the steps necessary to create a product catalog and shoppmg cart with PHP beginning with user registration. Learn how to add and remove products and customers and to send a feedback message using the mail fimction.
MASTER USER AUTHENTICATION AND TRACKING
Learn how to configure HTTP authentication on Apache and to create users. Begin with the basics of password-based authentication and password storage. Then create a PHP script that will validate users, and learn how to use cookies and sessions to track users.
Vissza