| 000 | 05250cam a2200337 a 4500 | ||
|---|---|---|---|
| 999 |
_c76 _d76 |
||
| 001 | 14820305 | ||
| 003 | OSt | ||
| 005 | 20190819121934.0 | ||
| 008 | 070424s2007 nyua 001 0 eng | ||
| 010 | _a 2007017013 | ||
| 020 | _a978-0-07-065978-0 | ||
| 035 | _a(OCoLC)ocn123818290 | ||
| 035 | _a(OCoLC)123818290 | ||
| 040 |
_aDLC _cDLC _dBAKER _dBTCTA _dC#P _dYDXCP _dIXA _dDLC |
||
| 050 | 0 | 0 |
_aQA76.73.P224 _bV38 2007 |
| 082 | 0 | 0 |
_a005.133 VIK _223 |
| 100 | 1 | _aVaswani, Vikram. | |
| 245 | 1 | 0 |
_aPHP programming solutions / _cVikram Vaswani. |
| 260 |
_aNew York : _bMcGraw-Hill, _cc2007. |
||
| 300 |
_axx, 556 p. : _bill. ; _c23 cm. |
||
| 500 | _aIncludes index. | ||
| 505 | _aChapter 1, Working With Strings discusses common problems when working with strings in PHP. Some of the problems discussed include removing unnecessary whitespace, finding and replacing string patterns, counting and extracting string segments, identifying duplicate words, encrypting text and generating string passwords. Chapter 2, Working With Numbers discusses number manipulation in PHP. Some of the problems discussed include converting number bases; calculating trigonometric values; working with complex numbers and fractions; generating prime numbers; and translating numbers into words in different languages. Chapter 3, Working With Dates and Times discusses common issues when working with temporal values in PHP. Some of the problems discussed include converting between time zones; calculating the number of days in a month or year; performing date arithmetic; and working with arbitrarily large date values. Chapter 4, Working With Arrays discusses PHP arrays. Listings include recursively traversing and searching a series of nested arrays, sorting arrays by more than one key, filtering array elements by user-defined criteria, and swapping array keys and values. Chapter 5, Working With Functions and Classes discusses problems encountered when defining and using functions and classes in PHP. Some of the problems solved include using variable-length argument lists and default arguments; checking class ancestry; overloading class methods; cloning and comparing objects; using abstract classes; and adjusting class member visibility. Chapter 6, Working With Files and Directories is all about PHP's interaction with the file system. Solutions are included for tasks like searching and replacing patterns within files; comparing file contents; extracting specific lines or bytes from files; recursively processing directories; and converting files between UNIX and MS-DOS formats. Chapter 7, Working With HTML and Web Pages discusses common tasks related to using PHP in a Web application. It includes listings for finding and turning text URLs into HTML hyperlinks; generating DHTML menu trees from a database; visually displaying the progress of server tasks; and caching and paginating content. Chapter 8, Working With Forms, Sessions and Cookies discusses common problems of input validation, security and data persistence. Listings are included for storing and retrieving session variables; authenticating users and protecting pages from unauthorized access; building a session-based shopping cart; and creating persistent objects. Chapter 9, Working With Databases discusses solutions for common problems involving PHP and databases. It includes listings for retrieving a subset of an SQL result set; writing portable database code; performing transactions; protecting special characters in query strings; and storing binary data in a table. Chapter 10, Working With XML discusses common problems related to using PHP with XML. It includes listings for processing node and attribute values; validating XML against DTDs or Schemas; transforming XML with XSLT style sheets; parsing RSS feeds; and interfacing with SOAP services. Chapter 11, Working With Different File Formats and Network Protocols is all about interfacing the language with as many servers, protocols and formats as possible. It includes listings for connecting to FTP servers; reading mail in POP3 mailboxes; querying DNS and WHOIS servers; extracting thumbnails from digital JPEGs; dynamically generating PDF files; and creating MIME-compliant email messages. Chapter 12, Working With Exceptions, And Other Miscellanea discusses common problems related to exception handling and error processing. It also includes solutions for profiling and benchmarking your PHP scripts; executing external programs from within PHP; altering the PHP configuration at run-time; creating compiled PHP bytecode; and localizing PHP applications. | ||
| 650 | 0 | _aPHP (Computer program language) | |
| 650 | 0 |
_aWeb sites _xDesign. |
|
| 856 | 4 | 2 |
_3Contributor biographical information _uhttp://www.loc.gov/catdir/enhancements/fy0713/2007017013-b.html |
| 856 | 4 | 2 |
_3Publisher description _uhttp://www.loc.gov/catdir/enhancements/fy0713/2007017013-d.html |
| 856 | 4 | 1 |
_3Table of contents only _uhttp://www.loc.gov/catdir/enhancements/fy0713/2007017013-t.html |
| 906 |
_a7 _bcbc _corignew _d1 _eecip _f20 _gy-gencatlg |
||
| 942 |
_2ddc _cSTS |
||