PHP Pocket Reference by Rasmus Lerdorf The following are the changes made in the 7/01 printing. Here's the key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification [3]"php.exe" was deleted from the ScriptAlias line so it now reads: ScriptAlias /php3/ "/path-to-php-dir/" (3) 3rd paragraph, last sentence: "an HUB" was changed to "a HUP". {21} 2nd block of code; The code used to read: function hitcount() It now reads: function hitcount() { Also, the following lines: print "This is the first time this page"; print " has been accessed"; were changed to: print "This is the first time this"; print " function has been accessed"; {22} code at top of page; The following lines: print "This page has been accessed $count"; print " times"; were changed to: print "This function has been accessed"; print " $count times"; {23} 2nd and 3rd paragraphs: "$HTTP_GET_DATA" was changed to "$HTTP_GET_VARS" (occurs twice) "$HTTP_POST_DATA" was changed to "$HTTP_POST_VARS" (once) "$HTTP_COOKIE_DATA" was changed to "$HTTP_COOKIE_VARS" (once) {25} code; show_form($first,$last,$interests); was changed to: show_form($first,$last,$interest); {31} The following entry should was inserted after ksort: void list(...) Assign variables as if they were an array Also, in the entries for max and min: "an array or a series of arguments" was changed to: "an array or set of arguments" {43} under "MySQL Functions: The description of mysql_change_user was changed to: Change the logged-in user on the current connection (requires MySQL version 3.23.2 or higher) (56) Both instances of "GMT/CUT" on the page were changed to "GMT/UTC." {100} The term for ereg_replace was changed to: string ereg_replace(string pattern, string replacement, string string) and the term for eregi_replace was changed to: string eregi_replace(string pattern, string replacement, string string) {103} description of strchr function; The description used to read: Find the last occurrence of a character in a string It now reads: Find the first occurrence of a character in a string