|
cookies, 227, 229231, 233, 235237
copy
function, 282, 360
count
function, 110, 356
count_chars
function, 371
Crack extension, 307
CSV (comma-separated values) file, 256259
Ctrl+C, stopping infinite loops with, 154
ctype extension, 304
cURL extension, 306307
curly braces ({})
confusing with parentheses, 326
enclosing block of statements, 3637, 142
enclosing variable names, 60, 121
mismatched, 325326
in pattern matching, 135
current
function, 108, 356
D
data
accessing from flat files, 249255
exchanging with other programs, 255259
passing between Web pages, 226238
storing in databases, 247249
storing in flat files, 247249
storing in SQLite flat files, 249
writing to flat files, 252
data types. See alsostrings
assigned to variables automatically, 74
Boolean, 73, 74, 132
comparison functions for, 133
comparison operators for, 131
converted automatically, 74
determining for variable, 75
floating point numbers, 73, 7580, 8992
integers, 73, 7580, 8992
type casting, 7475
of values passed to functions, 167168
Database Management System. SeeDBMS
databases. See alsoSQLite
accessing, 266271
advantages of, 248249
choosing, 260261
closing connection to, 271
connecting to, 267268
DB package for, 309, 315318
definition of, 247, 259
error handling for, 272273
example script for, 273276
extensions for, 306
features for, 1112
functions for, 262
location of, 202
processing queried data, 269271
provided by Web hosting company, 23
querying, 266, 268269
security for, 262
setting up, 263265
structure of, 261262
supported by PHP, list of, 12, 260
date
function, 9293, 358
dates and times
calendar extension, 304
current date and time, 92
formatting, 9293
functions for, 358359
storing a timestamp in a variable, 9495
DB package, 309, 315318
DB2 databases (IBM), 12, 260, 263
dBASE databases, 12
DBMS (Database Management System),
259. See alsodatabases
debugger, enabling, 342
decrement operator (
--
), 7879
default.htm
file, 21
define
function, 62
__destruct
method, 196
Developers Tools CD, Mac OS X, 340
die
statement, 72, 174175
directories
changing current directory, 284
for configuration file, 42, 342343, 350
creating, 283284
definition of, 279
determining for file, 281
for documentation, 342
listing with FTP, 293294
for man files, 342
opening, 284
for PHP programs, 342
reading file names from, 284285
Web space location, 21, 28
directory handle, 284
directory servers, LDAP extension for, 307
dirname
function, 281, 360
discussion lists. Seemailing lists
disk space requirements, Web hosting, 23
disk_free_space
function, 360
380
PHP 5 For Dummies
|