Core PHP Programming

Core PHP Programming : Using PHP to Build Dynamic Web Sites

3.56 (41 ratings by Goodreads)
By (author) 

List price: US$47.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


For courses in Web Programming and Design and Numerical Methods.This thoroughly updated and revised second edition of the best-selling developer's guide features a comprehensive reference with examples of every key PHP function. The edition also covers all the latest developments in the language; in particular, PHP's newest version 4.0 and that PHP now works with Microsoft's Internet Information Server so PHP can be used on Windows NT/2000 running IIS.
show more

Product details

  • Mixed media product | 800 pages
  • 175.26 x 233.68 x 58.42mm | 1,746.32g
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • 2nd edition
  • 0130893986
  • 9780130893987

Table of contents

I. PROGRAMMING WITH PHP. 1. An Introduction to PHP. The Origins of PHP. What Makes PHP Better than Its Alternatives. Interfaces to External Systems. How PHP Works with the Web Server. Hardware and Software Requirements. Installation on Apache for UNIX. Installation on IIS for Windows NT. Editing Scripts. Algorithms. What a PHP Script Looks Like. Saving Data for Later. Receiving User Input. Choosing between Alternatives. Repeating Code. Conclusion.2. Variables, Operators, and Expressions. Identifiers. Data Types. Variable Creation and Scope. Assigning Values to Variables. Retrieving Values. Freeing Memory. Constants. Operators. Logical and Relational Operators. Bitwise Operators. Miscellaneous Operators. Assignment Operators. Expressions.3. Control Statements. True and False. The if Statement. The ? Operator. The switch Statement. Loops. The while Statement. The break Statement. The continue Statement. The do while Statement. The for Statement. The foreach Statement. exit, die, and return. Evaluation of Boolean Expressions.4. Functions. Declaring a Function. The return Statement. Scope and the global Statement. Arguments. Recursion. Dynamic Function Calls.5. Arrays. Single-Dimensional Arrays. Indexing Arrays. Initializing Arrays. Multidimensional Arrays. Casting Arrays. Referencing Arrays Inside Strings.6. Classes and Objects. Defining a Class. Creating an Object. Accessing Properties and Methods.7. I/O and Disk Access. HTTP Connections. Writing to the Browser. Output Buffering. Environment Variables. Getting Input from Forms. Cookies. File Uploads. PUT Method Requests. Reading and Writing to Files. Sessions. The include and require Functions.II. FUNCTIONAL REFERENCE. 8. I/O Functions. Sending Text to the Browser. Output Buffering. Files. Compressed File Functions. POSIX. Debugging. Session Handling. Shell Commands. HTTP Headers. Network I/O. FTP.9. Data Functions. Data Types, Constants, and Variables. Arrays. Hashing. Strings. Encoding and Decoding. Encryption. Regular Expressions. Perl-Compatible Regular Expressions.10. Mathematical Functions. Common Math. Random Numbers. Arbitrary-Precision Numbers.11. Time, Date, and Configuration Functions. Time and Date. Alternative Calendars. Configuration.12. Image Functions. Analyzing Images. Creating JPEG, PNG, and WBMP Images.13. Database Functions. dBase. DBM-style Database Abstraction. filePro. Informix. InterBase. mSQL. MySQL. ODBC. Oracle. Postgres. Sybase.14. Miscellaneous Functions. Apache. Aspell. COM. Gettext. IMAP. Java. LDAP. Semaphores. Shared Memory. SNMP. WDDX. XML.III. ALGORITHMS. 15. Sorting, Searching, and Random Numbers. Sorting. Bubble Sort. Quicksort. Built-In Sorting Functions. Sorting with a Comparison Function. Searching. Indexing. Random Numbers. Random Identifiers. Choosing Banner Ads.16. Parsing and String Evaluation. Tokenizing. Regular Expressions. Defining Regular Expressions. Using Regular Expressions in PHP Scripts.17. Database Integration. Building HTML Tables from SQL Queries. Tracking Visitors with Session Identifiers. Storing Content in a Database. Database Abstraction Layers.18. Network. HTTP Authentication. Controlling Browser Cache. Setting Document Type. Email with Attachments. Verifying an Email Address.19. Generating Graphics. Dynamic Buttons. Generating Graphs on the Fly. Bar Graphs. Pie Charts. Stretching Single-Pixel Images.IV. SOFTWARE ENGINEERING. 20. Integration with HTML. Sprinkling PHP within an HTML Document. Using PHP to Output All HTML. Separating HTML from PHP. Creating Fields. Passing Arrays in Forms.21. Design. Writing Requirements Specifications. Writing Design Documents. Using CVS. Modularization Using include. FreeEnergy. FastTemplate. Midgard. Ariadne. Preserving State and Providing Security. Cloaking. URLs Friendly to Search Engines. Running a Script Regularly.22. Efficiency and Debugging. Measuring Performance. Fetching Database Query Results. When to Store Content in a Database. In-Line Debugging. Remote Debugging. Simulating HTTP Connections.Appendix A. Appendix B. Appendix C. Appendix D. Appendix E. Appendix F. Appendix G. Index.
show more

About Leon Atkinson

LEON ATKINSON is Chief Technologist for Clear Ink Corporation, an agency offering traditional and Web communication services. He is creator and maintainer of the FreeTrade project, an Open Source e-commerce toolkit, and an enthusiastic supporter of PHP.
show more

Rating details

41 ratings
3.56 out of 5 stars
5 24% (10)
4 32% (13)
3 22% (9)
2 20% (8)
1 2% (1)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X