PHP is a simple yet powerful open-source scripting language for creating dynamic web content. The millions of web sites powered by PHP are testament to its popularity and ease of use. PHP is used by both programmers, who appreciate its flexibility and speed, and web designers, who value its accessibility and convenience. Programming PHP is an authoritative guide to PHP 4 and is filled with the unique knowledge of the creator of PHP, Rasmus Lerdorf. This book explains PHP language syntax and programming techniques in a clear and concise manner, with numerous examples that illustrate both correct usage and common idioms. The book also includes style tips and practical programming advice that will help you become not just a PHP programmer, but a good PHP programmer. Programming PHP covers everything you need to know to create effective web applications with PHP. Contents include:
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
started the PHP Project back in 1995 and has been actively involved in PHP development ever since. Also involved in a number of other Open Source projects, Rasmus is a longtime Apache contributor and foundation member. He is the author of the first edition of the PHP Pocket Reference, and the co-author of Programming PHP.
Kevin Tatroe has been a Macintosh and Unix programmer for ten years. Being lazy, he's attracted to languages and frameworks that do much of the work for you, such as the AppleScript, Perl, and PHP languages and the WebObjects and Cocoa programming environments. Kevin, his wife Jenn, his son Hadden, and two cats live on the edge of the rural plains of Colorado, just far away enough from the mountains to avoid the worst snowfall, and just close enough to avoid tornadoes. The house is filled with LEGO creations, action figures, and other toys.
Preface; Audience for This Book; Structure of This Book; Conventions Used in This Book; Comments and Questions; Acknowledgments; Chapter 1: Introduction to PHP; 1.1 What Does PHP Do?; 1.2 A Brief History of PHP; 1.3 Installing PHP; 1.4 A Walk Through PHP; Chapter 2: Language Basics; 2.1 Lexical Structure; 2.2 Data Types; 2.3 Variables; 2.4 Expressions and Operators; 2.5 Flow-Control Statements; 2.6 Including Code; 2.7 Embedding PHP in Web Pages; Chapter 3: Functions; 3.1 Calling a Function; 3.2 Defining a Function; 3.3 Variable Scope; 3.4 Function Parameters; 3.5 Return Values; 3.6 Variable Functions; 3.7 Anonymous Functions; Chapter 4: Strings; 4.1 Quoting String Constants; 4.2 Printing Strings; 4.3 Accessing Individual Characters; 4.4 Cleaning Strings; 4.5 Encoding and Escaping; 4.6 Comparing Strings; 4.7 Manipulating and Searching Strings; 4.8 Regular Expressions; 4.9 POSIX-Style Regular Expressions; 4.10 Perl-Compatible Regular Expressions; Chapter 5: Arrays; 5.1 Indexed Versus Associative Arrays; 5.2 Identifying Elements of an Array; 5.3 Storing Data in Arrays; 5.4 Multidimensional Arrays; 5.5 Extracting Multiple Values; 5.6 Converting Between Arrays and Variables; 5.7 Traversing Arrays; 5.8 Sorting; 5.9 Acting on Entire Arrays; 5.10 Using Arrays; Chapter 6: Objects; 6.1 Terminology; 6.2 Creating an Object; 6.3 Accessing Properties and Methods; 6.4 Declaring a Class; 6.5 Introspection; 6.6 Serialization; Chapter 7: Web Techniques; 7.1 HTTP Basics; 7.2 Variables; 7.3 Server Information; 7.4 Processing Forms; 7.5 Setting Response Headers; 7.6 Maintaining State; 7.7 SSL; Chapter 8: Databases; 8.1 Using PHP to Access a Database; 8.2 Relational Databases and SQL; 8.3 PEAR DB Basics; 8.4 Advanced Database Techniques; 8.5 Sample Application; Chapter 9: Graphics; 9.1 Embedding an Image in a Page; 9.2 The GD Extension; 9.3 Basic Graphics Concepts; 9.4 Creating and Drawing Images; 9.5 Images with Text; 9.6 Dynamically Generated Buttons; 9.7 Scaling Images; 9.8 Color Handling; Chapter 10: PDF; 10.1 PDF Extensions; 10.2 Documents and Pages; 10.3 Text; 10.4 Images and Graphics; 10.5 Navigation; 10.6 Other PDF Features; Chapter 11: XML; 11.1 Lightning Guide to XML; 11.2 Generating XML; 11.3 Parsing XML; 11.4 Transforming XML with XSLT; 11.5 Web Services; Chapter 12: Security; 12.1 Global Variables and Form Data; 12.2 Filenames; 12.3 File Uploads; 12.4 File Permissions; 12.5 Concealing PHP Libraries; 12.6 PHP Code; 12.7 Shell Commands; 12.8 Security Redux; Chapter 13: Application Techniques; 13.1 Code Libraries; 13.2 Templating Systems; 13.3 Handling Output; 13.4 Error Handling; 13.5 Performance Tuning; Chapter 14: Extending PHP; 14.1 Architectural Overview; 14.2 What You’ll Need; 14.3 Building Your First Extensions; 14.4 The config.m4 File; 14.5 Memory Management; 14.6 The pval/zval Data Type; 14.7 Parameter Handling; 14.8 Returning Values; 14.9 References; 14.10 Global Variables; 14.11 Creating Variables; 14.12 Extension INI Entries; 14.13 Resources; 14.14 Where to Go from Here; Chapter 15: PHP on Windows; 15.1 Installing and Configuring PHP on Windows; 15.2 Writing Portable Code for Windows and Unix; 15.3 Interfacing with COM; 15.4 Interacting with ODBC Data Sources; Function Reference; PHP Functions by Category; Alphabetical Listing of PHP Functions (a-e); Alphabetical Listing of PHP Functions (f-i); Alphabetical Listing of PHP Functions (j-q); Alphabetical Listing of PHP Functions (r-z); Extension Overview; Optional Extensions Listing; Colophon;
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
GRATIS per la spedizione in U.S.A.
Destinazione, tempi e costiGRATIS per la spedizione in U.S.A.
Destinazione, tempi e costiDa: SecondSale, Montgomery, IL, U.S.A.
Condizione: Good. Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc. Codice articolo 00054575772
Quantità: 3 disponibili
Da: Wonder Book, Frederick, MD, U.S.A.
Condizione: Very Good. Very Good condition. A copy that may have a few cosmetic defects. May also contain light spine creasing or a few markings such as an owner's name, short gifter's inscription or light stamp. Bundled media such as CDs, DVDs, floppy disks or access codes may not be included. Codice articolo F09C-00089
Quantità: 1 disponibili
Da: Wonder Book, Frederick, MD, U.S.A.
Condizione: Very Good. Very Good condition. A copy that may have a few cosmetic defects. May also contain light spine creasing or a few markings such as an owner's name, short gifter's inscription or light stamp. Codice articolo L02A-03105
Quantità: 3 disponibili
Da: Once Upon A Time Books, Siloam Springs, AR, U.S.A.
Paperback. Condizione: Good. This is a used book in good condition and may show some signs of use or wear . This is a used book in good condition and may show some signs of use or wear . Codice articolo mon0000415396
Quantità: 1 disponibili
Da: ThriftBooks-Reno, Reno, NV, U.S.A.
Paperback. Condizione: As New. No Jacket. Pages are clean and are not marred by notes or folds of any kind. ~ ThriftBooks: Read More, Spend Less 1.01. Codice articolo G1565926102I2N00
Quantità: 1 disponibili
Da: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
Paperback. Condizione: As New. No Jacket. Pages are clean and are not marred by notes or folds of any kind. ~ ThriftBooks: Read More, Spend Less 1.01. Codice articolo G1565926102I2N00
Quantità: 1 disponibili
Da: ThriftBooks-Dallas, Dallas, TX, U.S.A.
Paperback. Condizione: As New. No Jacket. Pages are clean and are not marred by notes or folds of any kind. ~ ThriftBooks: Read More, Spend Less 1.01. Codice articolo G1565926102I2N00
Quantità: 1 disponibili
Da: Better World Books, Mishawaka, IN, U.S.A.
Condizione: Very Good. 1st. Former library book; may include library markings. Used book that is in excellent condition. May show signs of wear or have minor defects. Codice articolo GRP67635685
Quantità: 1 disponibili
Da: Better World Books, Mishawaka, IN, U.S.A.
Condizione: As New. 1st. Used book that is in almost brand-new condition. Codice articolo 7656573-6
Quantità: 1 disponibili
Da: Half Price Books Inc., Dallas, TX, U.S.A.
paperback. Condizione: Very Good. Connecting readers with great books since 1972! Used books may not include companion materials, and may have some shelf wear or limited writing. We ship orders daily and Customer Service is our top priority! Codice articolo S_129426416
Quantità: 1 disponibili