Specifications

tracking users purchases (Shopping Cart application)
861
plain text (encryption), 293
positioning onto buttons,
418
writing onto buttons, 419
text files, 50-51
checking existence of, 63
checking size of, 63
closing, 58-59
deleting, 63
disadvantages, 66
formats, 58
locking, 65-66
navigating inside files, 64
opening, 52
file modes, 52
fopen() function, 53-54
FTP (File Transfer
Protocol), 54-55
HTTP (Hypertext
Transfer Protocol), 55
potential problems,
55-56
reading, 52
feof() function, 60
fgetc() function, 62-63
fgetcsv() function, 61
fgets() function, 60
fgetss() function, 61
file() function, 62
fopen() function, 60
fpassthru() function, 62
fread() function, 63
readfile() function, 61
vieworders.php
interface, 59-60
writing to, 52
file formats, 58
fwrite() function, 57
TEXT type, 204-205
Thawte, 297
Thawte Web site, 289
threaded discussion
group application, 712
article list, 718-731
collapsing threads,
719, 723
displaying articles, 724
expanding threads,
719-723
individual articles,
viewing, 731-734
new articles, adding,
734-741
plus symbols, 719
treenode class, 725-731
database design, 716-718
extensions, 741
files, 715
posters, 716
solution components,
712-714
solution overview, 714-715
tree of articles, 729
tree structure, 713-714
tree_node class, 713
threaded discussion
groups, threads, 712
threads (Web forum
application)
collapsing, 719, 723
expanding, 719-724
threats to security,
283-290
Denial of Service (DoS),
287
errors in software, 288-289
exposure of confidential
data, 283-285
loss or destruction of data,
285-286
modification of data, 286
repudiation, 289-290
three-dimensional arrays,
77-79
TIFF library Web site, 751
time and date
converting between PHP
and MySQL formats,
396-398
in MySQL
DATE_FORMAT()
function, 396-397
MySQL Web site, 400
UNIX_TIMESTAMP
function, 397-398
in PHP, 392-396
calendar functions, 399
checkdate() function,
396
date calculations,
398-399
date() function, 392-
395
floor() function, 399
getdate() function, 395
mktime() function,
394-395, 398
PHP Web site, 400
timeouts, avoiding (FTP),
386
TIMESTAMP display types,
203
TLS (Transport Layer
Security), 335
tokens (strings), 102
totaling forms with
operators, 33-34
touch() function, 365
traceroute command
(UNIX), 285
tracking success of Web
sites, 270-271
tracking users purchases
(Shopping Cart applica-
tion), 541
40 7842 index 3/6/01 4:22 PM Page 861