Specifications
prototypes (functions)
849
printing
strings
formatting strings for
printing, 97-99
print() function, 97
printf() function, 98-99
sprintf() function, 98
text on images, 406-408
privacy policies, 273
private key encryption,
294-295
private keys, Gnu Privacy
Guard (GPG), 340
privilege system, 246-247
columns_priv table,
249-250
db table, 248-249
grant table, 250-251
host table, 248-249
privileges, updating, 251
tables_priv table, 249-250
user table, 247-248
privileges
FILE, 253
GRANT, 253
PROCESS, 253
updating, 251
user, database security, 253
privileges (MySQL), 188-
193
global privileges, 189
GRANT command,
188-189, 192-193
principle of least privilege,
188
REVOKE command,
192-193
types, 190-191
problems, file uploads,
358
PROCESS privilege, 191,
253
process.php script
(Shopping Cart applica-
tion), 572-575
processing HTML forms,
11-13
Bob’s Auto Parts applica-
tion, 11-13
progex.php file, 366
programming errors,
478-486
logic errors, 485-486
runtime errors, 480-481
database interaction,
482-484
functions that don’t
exist, 481-482
input data, 485
network connections,
484-485
reading/writing files,
482
syntax errors, 478-480
properties of files,
changing, 364
protocol stacks, 333
protocols, 370
application layer protocols,
333
File Transfer Protocol
(FTP), 378-387
anonymous login, 381
filetime() function, 383
file_exists() function,
383
ftp_connect() function,
382
ftp_fget() function, 384
ftp_fput() function, 385
ftp_get() function, 385
ftp_login() function,
382
ftp_mdtm() function,
383
ftp_nlist() function, 386
ftp_put() function, 385
ftp_quit() function, 385
ftp_size() function, 386
mirroring files, 379-385
set_time_limit()
function, 386
timeouts, avoiding, 386
uploading files, 385
FTP (File Transfer
Protocol), opening files,
54-55
HTTP (Hypertext Transfer
Protocol), opening files,
55
HTTP protocol, 333
handshaking, 334
Secure Sockets Layer
(SSL), 334
IMAP (Internet Message
Access Protocol), 371,
618
IP (Internet Protocol), 333
POP (Post Office
Protocol), 371
POP3 (Post Office
Protocol version 3), 618
RFCs (Requests for
Comments), 370
SMTP (Simple Mail
Transfer Protocol), 371,
618
TCP (Transmission
Control Protocol), 333
World Wide Web
Consortium (W3C) Web
site, 389
prototypes (code), 471
prototypes (functions),
130
40 7842 index 3/6/01 4:22 PM Page 849