|
extensions to PHP
activating and deactivating, 304–305
list of, 304, 306–308
PEAR repository for, 309–318
extract
function, 112, 356
• F •
f
formatting instruction, 90
FALSE values, 74. See alsoBoolean
datatypes
fclose
function, 251, 360
FDF extension, 307
feof
function, 253, 360
fgetc
function, 361
fgetcsv
function, 256–257, 361
fgets
function, 252–254, 361
fgetss
function, 361
__FILE__
built-in constant, 66
file extensions
for included files, 158, 160
for PHP scripts, 15, 21
file
function, 254–255, 361
file handle, 249
file system, 279. See alsofiles
File Transfer Protocol. SeeFTP
fileatime
function, 281, 361
filectime
function, 281, 361
file_exists
function, 280, 361
file_get_contents
function, 255, 300–301
filegroup
function, 281
filemtime
function, 281, 361
fileowner
function, 281, 362
fileperms
function, 362
filePro databases, 12
files. See alsodatabases; flat files; FTP
checking for existence of, 280
checking whether executable, 280
checking whether readable, 281
checking whether writable, 281
compressed files, 307
copying, 282
creation time of, determining, 281
current file, built-in constant for, 66
deleting, 283
directory name of, from path, 281
filename of, from path, 281
functions for, 359–366
group ID for, determining, 281
including in scripts, 158–162
last access time of, determining, 281
last modified time of, determining, 281
list of, displayed on Web site, 201
names of, retrieving, 284–285
renaming, 282
security for, 201–202
sending as e-mail attachments, 300–302
size of, determining, 281
transferring with FTP, 292–297
type of, determining, 280, 281
uploaded, built-in array for, 124
uploading to Web site, 238–244
user ID for, determining, 281
$_FILES
built-in array, 124, 240–241
filesize
function, 281, 362
filetype
function, 362
final var
statement, 185
Flash movies, 308
flat files, 247–259, 276–278. See alsoSQLite
(float)
, type casting to floating point, 75
floating point data types, 73, 75–80, 89–92
flock
function, 362
floor
function, 79, 367
folders. Seedirectories
font conventions used in this book, 2
fopen
function, 249–251, 362
for
statement, 145–149
foreach
statement, 109–110, 121–122
formatting instructions, 90–92
forms. SeeHTML forms
fputs
function, 362
fread
function, 362
Free PHP Hosting Directory Web site, 330
FrontBase databases, 12
fscanf
function, 363
fseek
function, 363
FTP (File Transfer Protocol), 21, 34,
292–297, 304, 306, 342
ftp_cdup
function, 296
ftp_chdir
function, 296
ftp_close
function, 294, 296
ftp_connect
function, 292–293, 296
ftp_delete
function, 296
ftp_exec
function, 296
ftp_fget
function, 296
ftp_fput
function, 296
ftp_get
function, 294–296
ftp_login
function, 293, 296
382
PHP 5 For Dummies
|