11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

www.it-ebooks.infoCHAPTER 1 • INTRODUCING <strong>PHP</strong>conceived implementation. No<strong>net</strong>heless, the new features played an importantrole in attracting users used to working with traditional object-orientedprogramming (OOP) languages. Standard class and object developmentmethodologies were made available in addition to features such as objectoverloading and run-time class information. (A much more comprehensive OOPimplementation is available in version 5; see Chapter 6 for details.)Native session-handling support: HTTP session handling, available to version 3.Xusers only through a third-party solution, was natively incorporated into version 4.This feature offered developers a means for tracking user activity and preferenceswith unparalleled efficiency and ease. Chapter 18 covers <strong>PHP</strong>’s session-handlingcapabilities.Encryption: The MCrypt library was incorporated into the default distribution,offering users both full and hash encryption using encryption algorithms includingBlowfish, MD5, SHA1, and TripleDES, among others. Chapter 21 delves into <strong>PHP</strong>’sencryption capabilities.ISAPI support: ISAPI support gave users the ability to use <strong>PHP</strong> in conjunction withMicrosoft’s IIS Web server. A later joint collaboration between Zend and Microsoftgreatly improved IIS’ <strong>PHP</strong> support using FastCGI. In Chapter 2, I’ll show you howto install <strong>PHP</strong> on both the IIS and Apache Web servers.Native COM/DCOM support: Another bonus for Windows users is <strong>PHP</strong> 4’s abilityto access and instantiate COM objects. This functionality opened up a wide rangeof interoperability with Windows applications.Native Java support: In another boost to <strong>PHP</strong>’s interoperability, version 4 offeredsupport for binding to Java objects from a <strong>PHP</strong> application.Perl Compatible Regular Expressions (PCRE) library: The Perl language has longbeen heralded as the reigning royalty of the string-parsing kingdom. Thedevelopers knew that powerful regular expression functionality would play a majorrole in the widespread acceptance of <strong>PHP</strong> and opted to simply incorporate Perl’sfunctionality rather than reproduce it, rolling the PCRE library package into <strong>PHP</strong>’sdefault distribution (as of version 4.2.0). Chapter 9 covers this important feature ingreat detail and offers a general introduction to the often confusing regularexpression syntax.In addition to these features, literally hundreds of functions were added to version 4, greatlyenhancing the language’s capabilities. Many of these functions are discussed throughout the course ofthe book.<strong>PHP</strong> 4 represented a gigantic leap forward in the language’s maturity, offering new features, power,and scalability that swayed an enormous number of burgeoning and expert developers alike. Yet the<strong>PHP</strong> development team wasn’t content to sit on their hands for long and soon set upon anothermonumental effort, one that ultimately established the language as one of the most popular in theworld: <strong>PHP</strong> 5.<strong>PHP</strong> 5Version 5 was yet another watershed in the evolution of the <strong>PHP</strong> language. Although previous majorreleases had enormous numbers of new library additions, version 5 contained improvements over3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!