|
of passing variables through URL, 228
privacy of information, 201–202
of server, 202–203
sessions requiring user login, 238
of system command execution, 291
of uploading files, 241
of Web site, 200–203
SELECT
query, 266
selection lists, 208–210
semicolon (;), 36, 68, 321–322
sendmail_from
setting in
php.ini
file, 298
sendmail_path
setting in
php.ini
file,
298–299
serialize
function, 376
server
configuring on Windows, 350
cURL extension for, 306–307
definition of, 11, 15, 16
information about, 123, 124
installing, 25–26
processing of output statements by, 45–46
processing of PHP files by, 38, 39
requirements for, 19
security of, 201–203
supported by PHP, list of, 15, 16
$_SERVER
built-in array, 123–125
server-side scripting language, 11
servlets, enabling during installation, 343
$_SESSION
built-in array, 124, 234–235
session extension, 304
session ID, 232, 236–237
session.auto_start
setting in
php.ini
file, 233
session_destroy
function, 233–234
sessions
closing, 233–234
cookies and, 233, 235–237
definition of, 232–233
opening, 233
restricted, requiring user login, 238
storing information from, 227
variables for, 124, 234–235
session.save_path
setting in
php.ini
file, 232
session_start
function, 233
setcookie
function, 225, 230–231, 367
set_error_handler
statement, 72
Shared Memory extension, 308
SID
constant, 236–237
Simple Mail Transfer Protocol. SeeSMTP
simple statements, 36
single quotes. Seequotes
sizeof
function, 110, 358
slash (/), 77
slash, equal sign (/=), 78
SMTP
setting in
php.ini
file, 298
SMTP (Simple Mail Transfer Protocol),
297,309
SNMP extension, 308
Sockets extension, 308
sort
function, 103–104, 358
SourceForge Web site, 329
special characters
in output statements, 46–48
in pattern matching, 134–135
in strings, 82
split
function, 372
spliti
function, 372
sprintf
function, 80, 89–92, 372
SQL For Dummies(Taylor), 265
SQL Server databases (Microsoft), 12, 260
SQL (Structured Query Language), 265–266
SQLite, 17, 249, 276–278, 304
sqlite_close
function, 277
sqlite_fetch_array
function, 277
sqlite_open
function, 277
sqlite_query
function, 277
sqrt
function, 79, 369
square brackets ([]), 98, 134, 135
srand
function, 369
SSL (Secure Sockets Layer), 202, 308
statelessness, 223
statements. See alsospecific statements
block of, 36–37
complex statements, 37
conditional statements, 130, 140–145
definition of, 35
indenting, 37
line numbers for, 36
loop statements, 109–110, 121–122, 130,
145–156
order of execution, 129–130
output statements, 44–48, 79–80, 89–92,
225, 324
parsing errors in, 36
running from command line, 42
simple statements, 36
syntax of, 36–37
389
Index
|