ou
Identifiez-vous pour activer la commande 1-Click.
Plus de choix
Vous l'avez déjà ? Vendez votre exemplaire ici
Dites-le à l'éditeur :
J'aimerais lire ce livre sur Kindle !

Vous n'avez pas encore de Kindle ? Achetez-le ici ou téléchargez une application de lecture gratuite.

PHP 5 Unleashed [Anglais] [Broché]

John Coggeshall

Prix : EUR 49,53 Livraison à EUR 0,01 En savoir plus.
  Tous les prix incluent la TVA
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Il ne reste plus que 1 exemplaire(s) en stock (d'autres exemplaires sont en cours d'acheminement).
Expédié et vendu par Amazon. Emballage cadeau disponible.
‹  Retourner à l'aperçu du produit

Table des matières

Introduction.

    Organization of the Book

I. WORKING WITH PHP FOR GENERAL WEB DEVELOPMENT.

1. Basic PHP Development.

    How PHP Scripts Work

    Basic PHP Syntax

    Basic PHP Data Types

    Variable Manipulation

    Control Structures

      Logical Control Structures

      Repetition Control Structures

      Embedding Control Structures

    User-Defined Functions

    Dynamic Variables and Functions

      Dynamic Variables

      Dynamic Functions

    Multiple File PHP Scripts

    References

      Variable References

      References Used in Functions

    Strings in PHP

      Speed and Efficiency of String Expressions

    Comparing Strings

    Advanced String Comparison

      Comparing Phrases

    Search and Replacement

      Replacing Strings

    Formatting Strings

      Alternatives to printf()

    Strings and Locales

      Formatting Currency Values

    Formatting Date and Time Values

    Summary

2. Arrays.

    Basic Arrays

      Array Syntax

      Working with Arrays

    Implementing Arrays

      Using an Array as a List

      Using Arrays as a Sortable Table

      Using Arrays as a Lookup Table

      Converting from Strings to Arrays and Back

    More Array Materials

3. Regular Expressions.

    The Basics of Regular Expressions

    Limitations of the Basic Syntax

    POSIX Regular Expressions

    Perl-Compatible Regular Expressions (PCRE)

      Named Patterns

    PCRE Modifiers

    A Few Final Words

4. Working with Forms in PHP.

    HTML Forms 101

      How Forms Are Created

      HTML Widgets

    Working with Form Submissions in PHP

      Retrieving Form Values

      Using Arrays as Widget Names

      Handling File Uploads

    Summary

5. Advanced Form Techniques.

    Data Manipulation and Conversion

      Dealing with Magic Quotes

      Data Conversion and Encoding

      Serialization

    Form Data Integrity

      Securing Hidden Elements

      The protect() Function

      The validate() Function

      Putting protect() and validate() into Action

    Form Processing

      Basic Form Processing and Validation

      General-Purpose Form Validation

      Separation of Presentation from Validation

    Summary

6. Persistent Data Using Sessions and Cookies.

    HTTP Cookies

      Cookie Features and Restrictions

      How Cookies Are Implemented

      Implementing Cookies in Your Scripts

    PHP Sessions

      Basic Session Use

      Session Propagation

    Advanced Sessions

      Custom Session Handling

      Customizing Session Support

    Summary

7. Using Templates.

    The What and Why of Templates

      Separating Common Elements from Code

      A (Quick) Template System Example

    The Smarty Template Engine

      Installing Smarty

      Basic Smarty: Variables and Modifiers

      Configuration Files and Functions

    Summary

II. ADVANCED WEB DEVELOPMENT.

8. PEAR.

    What Is PEAR?

      A Code Library

      A Coding Standard

      A System for Distribution and Maintenance

      The PHP Foundation Classes

      The PEAR Package Manager

      A Diverse Community

    Getting and Installing PEAR

      On *NIX Systems

      On Windows Systems

      Through a Web Browser

    Using the PEAR Package Manager

      Listing Packages

      Finding Packages

      Installing and Upgrading Packages

      Uninstalling Packages

      Alternative Installation Methods

    Using the PEAR Website

      Browsing the Package List

      Searching for a Package

      Downloading and Installing a Package

    Using PEAR Packages in Applications

      Setting Up php.ini

      Including the Package

      Using Packages Not Installed Through pear

    Summary

    Reference

      Mailing Lists/Newsgroups

      WWW

      Other

9. XSLT and Other XML Concerns.

    Relating XML to HTML

    Using XSLT to Describe HTML Output Using XML Input

      XSL Stylesheets

      XSLT File Format Basics

      Commonly Used XSLT Instructions

      Using XSLT Instruction Elements with XSLT Patterns

      Sample XML to HTML Transformation Using XSLT

    PHP4 and XSLT Using the DOM XML Module

      Sample Transformation Using PHP4 and DOM XML

      DOM XML Functions and Properties of Note for XSLT Users

      Including XSLT Support in PHP4 via DOM XML

    PHP4 and XSLT Using the XSLT Module

      Sample Transformation Using PHP4 and XSLT

      XSLT Functions and Properties of Note

      Including XSLT Support in PHP4 via XSLT

    PHP5 and XSLT

      Sample Transformation Using PHP5

      PHP5 Functions and Properties of Note for XSLT Users

      Including XSL Support in PHP5

    Accessing XML Data Using SimpleXML

      Using SimpleXML in PHP Scripts

      Additional Notes About SimpleXML in PHP Scripts

    Generating XML Documents Using PHP

      Functions and Properties for Storing XML Objects as Files

    Summary

    References

10. Debugging and Optimizations.

    Debugging Your PHP Scripts

      Syntax-Related Bugs

      Logical Bugs

    Optimizing Your PHP Scripts

      The Secret to Finding Optimizations-Profiling

      Common PHP Bottlenecks and Solutions

    Summary

11. User Authentication.

    Authenticating Users in PHP

      Why?

      Using HTTP Authentication with Apache

      Using HTTP Authentication

      Using PHP Sessions

    Securing PHP Code

      Register_Globals

      Maximum Error

      Trust No One-Especially Not User Data

      Printing User Data

      Working with Files

      Working with Databases

    Summary

12. Data Encryption.

    Shared Secret Versus Public Key

    Shared Secret Algorithms

      Phrase Substitution

      Character S...

‹  Retourner à l'aperçu du produit