|
| (vertical bar), 135
|| (vertical bar, double), 139
• A •
abs
function, 367
Access databases, 12, 260
Action
statement, 351
addition operator (+), 77
addition shortcut operator (+=), 78
addslashes
function, 370
ampersand (&), 68, 69, 228
ampersand, double (&&), 139
and
, joining comparisons with, 138
angle brackets, three (<<<), starting
heredoc
statement, 81
Apache Web server
benefits of, 25–26
checking if installed, 334, 339–340
configuring, 344–345, 351–352
definition of, 15, 16
installed with Linux, 333–334
installing, 26
installing PHP with, 335–338
SSL and, 202–203
version requirements, 334, 339
versions of, 26
Web site for, 16, 26
Web space, default for, 28, 29
apostrophe (‘), in single-quoted strings, 82.
See alsoquotes
apxs
utility, Apache, 334, 340
apxs2
utility, Apache, 336
Arachnophilia program editor, 33
$argc
built-in array, 41, 125–126
$argv
built-in array, 41, 125–126
array
function, 99, 119–120, 353
array_count_values
function, 353
array_diff
function, 115, 353
array_diff_assoc
function, 115
array_flip
function, 117
array_intersect
function, 116, 354
array_keys
function, 354
array_merge
function, 114, 354
array_merge_recursive
function,
114,355
array_pop
function, 355
array_push
function, 355
array_reverse
function, 355
array_search
function, 355
array_slice
function, 113–114, 355
array_sum
function, 116–117, 355
array_unique
function, 117, 355
arrays
built-in PHP arrays, 123–126
changing values in, 101–102
comparing, 115–116
conversions to and from, 110–113, 121
copying to another array, 102
creating, 97–100, 119–120
definition of, 97
deleting, 103
displaying values in, 100–101, 120
exchanging keys and values of, 117
functions for, 353–358
intersecting, 116
keys of, 98–99
merging, 114
multidimensional, 114, 118–122
numbering of, starting with zero instead
of one, 324–325
passing to functions, 167–168
reading flat files into, 254–255
referencing values in statements,
105–107, 120–121
removing duplicate values from, 117
removing values from, 102–103
size of, determining, 110
sorting, 103–105
splitting, 113–114
summing values in, 116–117
traversing (iterating), 107–110, 121–122
of words in string, 86
arsort
function, 105, 356
asort
function, 103–104, 356
asterisk (*), 77, 135, 266
asterisk, equal sign (*=), 78
at sign (@), 57, 105–106
attachments, e-mail, 300–302
attributes. Seeproperties
autoglobal arrays. Seesuperglobal arrays
• B •
background, executing commands in, 287
backslash (\), 84, 135, 342
backticks (``), 287, 288
backups, 23, 34
378
PHP 5 For Dummies
|