Specifications
for loops
828
for loops, 45-46
foreign keys (databases),
175
forgot_form.php, 501
forgot_passwd.php, 501
format codes, date()
function, 392-394
formatting
output, 592-593
strings, 96-101
AddSlashes() function,
101
case, changing, 99-100
chop() function, 97
conversion specifica-
tions, 98-99
for printing, 97-99
for storage, 100-101
HTML formatting, 97
ltrim() function, 97
nl2br() function, 97
StripSlashes() function,
101
trim() function, 96
trimming excess
whitespace, 96-97
formats
files, 58
images, 403
GIF (Graphics
Interchange Format),
404
JPEG (Joint
Photographic Experts
Group), 403
PNG (Portable Network
Graphics), 403
WBMP (Wireless
Bitmap), 403
personalized documents,
745-748
ASCII, 745
HTML, 745
paper, 745
PDF, 748
PostScript, 747-748
requirements, 749
RTF, 746-747
software, 749-751
word processors, 746
formatting output,
593-594
forms
HTML, 229
Bob’s Auto Parts
application, 11-13
file upload, 352
processing, 11-13
userfile field, 354
totaling, with operators,
33-34
variables, accessing, 19-21
forum application. See
Web forum application
forwarding email (Warm
Mail application),
651-652
fpassthru() function, 62
fread() function, 63
Free Software Web site,
403
freeing up memory
(mysql_free_result()
function), 241-242
FreeType library,
downloading, 402
fseek() function, 64
ftell() function, 64
FTP (File Transfer
Protocol), 378-387
anonymous login, 381
content management
systems, 589
file upload method, 589
filetime() function, 383
file_exists() function, 383
FTP transfer modes, 384
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
closing connections,
385
connecting to remote
FTP server, 382
downloading files,
384-385
file update times,
checking, 383-384
logging in to FTP
server, 382
opening files, 54-55
set_time_limit() function,
386
timeouts, avoiding, 386
uploading files, 385
FTP servers
connecting to (mirroring
files), 382
downloading files, 384-385
logging in to (mirroring
files), 382
FTP sites, downloading
jpeg-6b, 402
PostScript Type 1 fonts,
402
FTP_ASCII mode, 384
ftp_connect() function,
382
ftp_fget() function, 384
40 7842 index 3/6/01 4:22 PM Page 828