|
Index
[ Symbols ],
[ A ],
[ B ],
[ C ],
[ D ],
[ E ],
[ F ],
[ G ],
[ H ],
[ I ],
[ K ],
[ L ],
[ M ],
[ N ],
[ O ],
[ P ],
[ Q ],
[ R ],
[ S ],
[ T ],
[ U ],
[ V ],
[ W ]
Symbols[ Top ]
* (asterisk) quantifier, 290
| (bar) metacharacter, 290
^ (caret) anchor, 291
$ (dollar sign) anchor, 291
. (dot) metacharacter, 289
?> end tags, 6, 12
# (hash mark), comments in PHP programs, 15
+ (plus) quantifier, 290
? (question mark) quantifier, 290
turning quantifiers from greedy to nongreedy, 294
; (semicolon), ending PHP programs, 13
<? start tags, 13, 286
/ * and */ (multiline comments in PHP programs), 15
/ / (comments in PHP programs), 8, 14
{ } (curly brackets) quantifier, 290
( ) parentheses, grouping characters together, 290
[ ] (square brackets), creating character classes, 292-294
A[ Top ]
allow_url_fopen configuration directive, 285
anchors and regular expressions, 291
answers to exercises
Appendix B, 338
Chapter 10, 327-331
Chapter 11, 331-336
Chapter 12, 336-338
Chapter 2, 305
Chapter 3, 306
Chapter 4, 306-309
Chapter 5, 309
Chapter 6, 310-316
Chapter 7, 316-321
Chapter 8, 321-325
Chapter 9, 325-327
Apache
configuring, 266-268
installing on
Linux, 279
OS X, 278
Windows, 276-278
stopping, 264
Applied Cryptography, Second Edition, xiii
array processing functions, 300-302
array variables in PHP, 8
auto_append_file configuration directive, 285
auto_prepend_file configuration directive, 285
B[ Top ]
B anchor, 292
* anchor, 292
backreferences, matching using, 298
browscap configuration directive, 285
browsers and PHP, 1-4
C[ Top ]
capturing text, 290
preg_match( ) and, 295
preg_match_all( ) and, 298
preg_replace( ) and, 299
case sensitivity in PHP programs, 14
character classes and regular expressions, 292-294
characters and regular expressions, 289
client-side languages, 3
comments in PHP programs, 8, 14-16
configuration directives, modifying, 280-287
cross-platform feature of PHP, 5
D[ Top ]
? metacharacter, 293
| metacharacter, 293
databases
displaying information from, 10
DB::connect( ), 11
display_errors configuration directive, 285
DuBois, Paul, xii
Dynamic HTML: The Definitive Reference, Second Edition, xiii
E[ Top ]
EasyPHP package, 269
end tags (?>), 12
error_reporting configuration directive, 283, 285
Essential PHP Tools, xii
exercises
answers to (see answers to exercises)
Appendix B, 302
explode( ), 300
extension configuration directive, 285
extension_dir configuration directive, 285
F[ Top ]
fetchRow( ), 11
file_uploads configuration directive, 285
Fitzgerald, Michael, xiii
formatted numbers, printing, 10
Friedl, Jeffrey E.F., xiii, 288
functions
return values of, 10
G[ Top ]
Garfinkel, Simson, xiii
Goodman, Danny, xiii
greedy quantifiers, 294
grouping together characters in regular expressions, 290
H[ Top ]
Hello World! example, 6
HTML & XHTML: The Definitive Guide, Fifth Edition, xiii
HTML form example, 7
HTML_Common package, 275
HTML_QuickForm package
installing, 275
HTTP Developer's Handbook, xiii
httpd.conf file, 281
I[ Top ]
i pattern modifier, 295
if( ), 9
include_path configuration directive, 286
ini_get( ), 284
ini_set( ), 284
K[ Top ]
Kennedy, Bill, xiii
Kline, Kevin E., xii
L[ Top ]
Lane, David, xii
Learning XML, 2nd Edition, xiii
Learning XSLT, xiii
Lerdorf, Rasmus, xii
Linux
installing Apache on, 279
installing PHP interpreter on, 270
literals in regular expressions, 289
log_errors configuration directive, 286
M[ Top ]
magic_quotes_gpc configuration directive, 286
magic_quotes_runtime configuration directive, 286
Mastering Regular Expressions, 288
Mastering Regular Expressions, Second Edition, xiii
matching patterns with preg_match( ), 295-299
metacharacters and regular expressions, 289
Musciano, Chuck, xiii
MySQL
installing on Windows/OS X/Linux, 280
MySQL Cookbook, xii
MySQL Reference Manual, xii
N[ Top ]
negated character classes, 293
nongreedy quantifiers, 294
number_format( ), 10
numbers in PHP, 26-28
numrows( ), 11
O[ Top ]
open source project, PHP as, 5
OS X
installing Apache on, 278
installing PHP interpreter on, 270
output_buffering configuration directive, 281, 286
P[ Top ]
pattern matching (see regular expressions)
pattern modifiers, 295
PCRE (Perl-compatible regular expressions) extension, 288
functions working with regular expressions, 295-302
PEAR packages, 261
installing, 271-276
PECL packages, 261
PHP
advantages of, 4-6
basic rules of programs, 12-16
usage statistics for, 5
variables in, 8
web browsers, web servers, and, 1-4
web-hosting providers and, 263
PHP Cookbook, xii
PHP interpreter, 3
configuration directives, modifying, 280-287
installing on
Linux/Unix, 270
OS X, 270
Windows, 264-270
installing/configuring, 263-287
start tags/end tags, 6, 12
<?php start tags, 6, 12, 286
phpinfo( ), 282
php.ini file, 281
$_SERVER, 9
$_POST variable, 8
Practical Unix & Internet Security, Third Edition, xiii
preg_grep( ), 301
preg_match( ), 295
preg_match_all( ), 297
preg_replace( ), 299
preg_split( ), 300
printing
formatted numbers, 10
HTML forms, 8
Programming PHP, xii
Q[ Top ]
quantifiers and regular expressions, 290
greedy/nongreedy, 294
query( ), 11
R[ Top ]
Ray, Erik T., xiii
register_globals configuration directive, 286
regular expressions, 288-303
anchors and, 291
character classes and, 292-294
characters and metacharacters, 289
grouping together characters, 290
PCRE extension functions, 295-302
quantifiers and, 290
greedy/nongreedy, 294
replacing matching parts of strings, 299
resources, PHP, xii
return values of functions, 10
S[ Top ]
S metacharacter, 293
s metacharacter, 293
s pattern modifier, 295
Schneier, Bruce, xiii
Schwartz, Alan, xiii
semicolon (;), ending PHP programs, 13
servers and PHP, 1-4
server-side languages, 3
session.auto_start configuration directive, 286
session.gc_maxlifetime configuration directive, 286
session.gc_probability configuration directive, 286
Shiflett, Chris, xiii
short open tags, 13
short_open_tag configuration directive, 286
SMTP configuration directive, 286
Spafford, Gene, xiii
splitting up strings, 300
SQL in a Nutshell, xii
start tags (<?php), 12
T[ Top ]
Tatroe, Kevin, xii
text in PHP, 17-26
Trachtenberg, Adam, xii
track_errors configuration directive, 286
U[ Top ]
Unix
installing PHP interpreter on, 270
Upgrading to PHP 5, xii
upload_max_filesize configuration directive, 283, 287
usage statistics for PHP, 5
V[ Top ]
variable, 9
variables in PHP, 8, 11, 28-32
W[ Top ]
W metacharacter, 293
w metacharacter, 293
web browsers, web servers, and PHP, 1-4
Web Database Applications with PHP & MySQL, xii
Web Security, Privacy & Commerce, Second Edition, xiii
web-hosting providers
PHP and, 263
whitespace in PHP programs, 13
Williams, Hugh E., xii
Windows
EasyPHP package, 269
installing Apache on, 276-278
installing PHP interpreter on, 264-270
word boundary anchors, 292
Return to Learning PHP 5
|