Specifications

Secure Sockets Layer (SSL)
853
scope (variables), 25
scope fields, 248
score.php, 752-757
screening user input, 336
script architecture, 663-
672
footers, 663
headers, 663
performing actions, 663
preprocessing, 663
SCRIPT style (PHP tags),
15
scripting engines, Web
database architecture,
181
scripts
admin.php script
(Shopping Cart applica-
tion), 575-577
authmain.php (authentica-
tion), 438-443
breaking out of, 47
catalog scripts (Shopping
Cart application),
548-556
index.php, 549-553
show_book.php, 549,
555-556, 579
show_cat.php, 549,
553-555
checkout.php script
(Shopping Cart applica-
tion), 566-568
creating databases, 242
deleting databases, 242
edit_book_form.php
(Shopping Cart applica-
tion), 580
for buttons, code to call,
412
images, drawing, 405
insert_book.php, 239-240
insert_book.php (Shopping
Cart application),
578-579
insert_book_form.php
script (Shopping Cart
application), 578
line graphs, code to
output, 405
logout.php (authentica-
tion), 444-445
make_button.php, buttons,
411
members_only.php
(authentication), 443-444
modification dates, 452
owners, identifying, 452
process.php script
(Shopping Cart applica-
tion), 572-575
purchase.php script
(Shopping Cart applica-
tion), 568-572
querying Web databases,
232
connections, setting up,
234-235
disconnecting from
databases, 238
input data, 232-233
inserting new informa-
tion into databases,
238-241
mysql_db_query()
function, 236
mysql_query() function,
235-236
retrieving results,
236-237
selecting databases,
235
results.php, 230-231
show_book.php (Shopping
Cart application), 579
show_cart.php script
(Shopping Cart applica-
tion), 557-560
adding items to cart,
563-565
header bar summary,
printing, 566
updated carts, saving,
565-566
viewing contents of
cart, 560-563
stock quotes, retrieving for
Web pages, 371-373
terminating execution, 450
Warm Mail application
(email client), 623-629
search form.php, 596
search.php, 596
searching
keywords, 611-614
substrings, 105-107
find and replace,
108-109
numeric position,
107-108
strpos() function,
107-108
strrpos() function, 107
strstr() function,
106-107
with regular expres-
sions, 114-115
Secure Electronic
Transaction standard,
290
Secure Hypertext Transfer
Protocol (S-HTTP), 331
Secure Sockets Layer
(SSL), 285, 331-335
compression, 335
encryption, 346-347
40 7842 index 3/6/01 4:22 PM Page 853