Always Learning

Advanced Search

Sams Teach Yourself PHP in 10 Minutes

Sams Teach Yourself PHP in 10 Minutes

Chris Newman

Apr 2005, Paperback, 264 pages
ISBN13: 9780672327629
ISBN10: 0672327627
This title is no longer available.
15.99

This title cannot be purchased online
  • Print pagePrint page
  • Email this pageEmail page
  • Write a reviewWrite a review
  • Share

Are you one of those people who think there isn't anything substantial that you can do in only 10 minutes? Think again. Sams Teach Yourself PHP in 10 Minutes is a no-fluff, just-the-answers guide to building dynamic websites using PHP. Broken into 10 minute lessons, you will gain a rapid working knowledge of PHP 5 and be able to immediately put that knowledge to use in practical applications. Who ever would have thought there was so much you could do in just 10 minutes!

Are you one of those people who think there isn't anything substantial that you can do in only 10 minutes? Think again. Sams Teach Yourself PHP in 10 Minutes is a no-fluff, just-the-answers guide to building dynamic websites using PHP. Broken into 10 minute lessons, you will gain a rapid working knowledge of PHP 5 and be able to immediately put that knowledge to use in practical applications. Who ever would have thought there was so much you could do in just 10 minutes!

Introduction.

I. PHP FOUNDATIONS.

1. Getting to Know PHP.

PHP Basics.

Your First Script.

2. Variables.

Understanding Variables.

Data Types.

3. Flow Control.

Conditional Statements.

Loops.

4. Functions.

Using Functions.

Arguments and Return Values.

Using Library Files.

II. WORKING WITH DATA.

5. Working with Numbers.

Arithmetic.

Numeric Data Types.

Numeric Functions.

6. Working with Strings.

Anatomy of a String.

Formatting Strings.

String Functions.

7. Working with Arrays.

What Is an Array?

Array Functions.

Multidimensional Arrays.

8. Regular Expressions.

Introducing Regular Expressions.

Using ereg.

9. Working with Dates and Times.

Date Formats.

Working with Timestamps.

10. Using Classes.

Object-Oriented PHP.

What Is a Class?

Creating and Using Objects.

III. THE WEB ENVIRONMENT.

11. Processing HTML Forms.

Submitting a Form to PHP.

Processing a Form with PHP.

Creating a Form Mail Script.

12. Generating Dynamic HTML.

Setting Default Values.

Creating Form Elements.

13. Form Validation.

Enforcing Required Fields.

Displaying Validation Warnings.

Enforcing Data Rules.

Highlighting Fields That Require Attention.

14. Cookies and Sessions.

Cookies.

Sessions.

15. User Authentication.

Types of Authentication.

Building an Authentication System.

16. Communicating with the Web Server.

HTTP Headers.

Server Environment Variables.

IV. USING OTHER SERVICES FROM PHP.

17. Filesystem Access.

Managing Files.

Reading and Writing Files.

18. Host Program Execution.

Executing Host Programs.

The Host Environment.

Security Considerations.

19. Using a MySQL Database.

Using MySQL.

Executing SQL Statements.

Debugging SQL.

20. Database Abstraction.

The PEAR DB Class.

Database Portability Issues.

21. Running PHP on the Command Line.

The Command-Line Environment.

Writing Scripts for the Command Line.

22. Error Handling .

Error Reporting.

V. CONFIGURING AND EXTENDING PHP.

23. PHP Configuration.

Configuration Settings.

Configuration Directives.

Loadable Modules.

24. PHP Security.

Safe Mode.

Other Security Features.

25. Using PEAR.

Introducing PEAR.

Using PEAR.

VI. APPENDIX.

Appendix A: Installing PHP.

Linux/Unix Installation.

Windows Installation.

Troubleshooting.

Sams Teach Yourself PHP in 10 MinutesAbout the Author

Chris Newman is a consultant programmer specializing in the development of custom web-based database applications to a loyal international client base.

A graduate of Keele University, Chris lives in Stoke-on-Trent, England, where he runs Lightwood Consultancy Ltd., the company he founded in 1999 to further his interest in Internet technology. Lightwood operates web hosting services under the DataSnake brand and is proud to be one of the first hosting companies to offer and support SQLite in addition to PHP as a standard feature on all accounts.

More information on Lightwood Consultancy Ltd. can be found at http://www.lightwood.net, and Chris can be contacted at chris@lightwood.net.


Copyright Pearson Education. All rights reserved.

Your opinions count

Be the first to review this product. Write your review now.