Programming PHP
Programming PHP, 2nd Edition, is the authoritative guide to PHP 5 and is filled with the unique knowledge of the creator of PHP (Rasmus Lerdorf) and other PHP experts. When it comes to creating websites, the PHP scripting language is truly a red-hot property. In fact, PHP is currently used on more t...
Autor principal: | |
---|---|
Otros Autores: | , |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Beijing :
Sebastopol, California
2006.
|
Edición: | 2nd ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627344706719 |
Tabla de Contenidos:
- Table of Contents; Foreword; Preface; Audience; Assumptions This Book Makes; Contents of This Book; Conventions Used in This Book; Using Code Examples; Comments and Questions; Safari® Enabled; Acknowledgments; Rasmus Lerdorf; Kevin Tatroe; Peter MacIntyre; Dedication; Introduction to PHP; What Does PHP Do?; A Brief History of PHP; The Evolution of PHP; The Growth of PHP; Installing PHP; A Walk Through PHP; Configuration Page; Forms; Databases; Graphics; From the Shell; Language Basics; Lexical Structure; Case Sensitivity; Statements and Semicolons; Whitespace and Line Breaks; Comments
- Shell-style commentsC++ comments; C comments; Literals; Identifiers; Variable names; Function names; Class names; Constants; Keywords; Data Types; Integers; Floating-Point Numbers; Strings; Booleans; Arrays; Objects; Resources; NULL; Variables; Variable Variables; Variable References; Variable Scope; Local scope; Global scope; Static variables; Function parameters; Garbage Collection; Expressions and Operators; Number of Operands; Operator Precedence; Operator Associativity; Implicit Casting; Arithmetic Operators; String Concatenation Operator; Autoincrement and Autodecrement Operators
- Comparison OperatorsBitwise Operators; Logical Operators; Casting Operators; Assignment Operators; Assignment; Assignment with operation; Miscellaneous Operators; Flow-Control Statements; if; switch; while; for; foreach; declare; exit and return; Including Code; Embedding PHP in Web Pages; XML Style; SGML Style; ASP Style; Script Style; Echoing Content Directly; Functions; Calling a Function; Defining a Function; Variable Scope; Global Variables; Static Variables; Function Parameters; Passing Parameters by Value; Passing Parameters by Reference; Default Parameters; Variable Parameters
- Missing ParametersReturn Values; Variable Functions; Anonymous Functions; Strings; Quoting String Constants; Variable Interpolation; Single-Quoted Strings; Double-Quoted Strings; Here Documents; Printing Strings; echo; print(); printf(); Format modifiers; Type specifiers; print_r() and var_dump(); Accessing Individual Characters; Cleaning Strings; Removing Whitespace; Changing Case; Encoding and Escaping; HTML; Entity-quoting all special characters; Entity-quoting only HTML syntax characters; Removing HTML tags; Extracting meta tags; URLs; RFC 1738 encoding and decoding; Query-string encoding
- SQLC-String Encoding; Comparing Strings; Exact Comparisons; Approximate Equality; Manipulating and Searching Strings; Substrings; Miscellaneous String Functions; Decomposing a String; Exploding and imploding; Tokenizing; sscanf(); String-Searching Functions; Searches returning position; Searches returning rest of string; Searches using masks; Decomposing URLs; Regular Expressions; The Basics; Character Classes; Alternatives; Repeating Sequences; Subpatterns; POSIX-Style Regular Expressions; Character Classes; Anchors; Functions; Matching; Replacing; Splitting
- Perl-Compatible Regular Expressions