index_F

F

F format, date function, 281

f formatting directive, sprintf() function, 303

fclose() function, 71, 286–287

fields

float field type, 114

int field type, 114

table creation, 111–117

text field type, 114

varchar field type, 114

file pointers, 70

file_exists() function, 287

files

closing, 71

opening, 70

$_FILES variable, 36

filesize() function, 72

first normal form, 81–82

flag directives, 15

flat tables, 80

float field type, 114

floating-point numbers, 35, 253

floats variable type, 252

floor() function, 292–293

fopen() function, 69–70, 285–286

for statement, 115, 259–260

foreach statement, 46

<FORM> tag, 27

forms

checkboxes, 28–29

creating, example of, 51–57

drop-down list boxes, 29, 54

GET method, 27

list boxes, 29

password fields, 28

POST method, 27

radio buttons, 28

returning values from, 50

submit buttons, 29–30

text areas, 29

text fields, 28

fputs() function, 71, 286

fread() function, 72, 286

functions. See also commands; methods

addslashes(), 300

array(), 45–46, 261

array_keys(), 269–270

array_merge(), 268–269

array_pop(), 262–263

array_push(), 261–262

array_shift(), 265–266

array_slice, 266–268

array_unshift(), 263–264

array_values(), 270–271

bindec(), 290–291

ceil(), 290

characterData(), 244–245

checkdate(), 282–283

chgrp(), 284

chmod(), 284

chop(), 301

chown(), 284

copy(), 284

count(), 213, 271–272

date(), 280–281

db_connect(), 49–50

decbin(), 290–291

dechex(), 291–292

decoct(), 292

define(), 37

defining, 47–48

die(), 92, 96, 100, 104, 173, 295

diskfreespace(), 284–285

each(), 272–273

echo(), 32, 301

endElement(), 239–240, 244

eregi_replace(), 299

ereg_replace(), 299

exec(), 298

explode(), 301–302

fclose(), 71, 286–287

file_exists(), 287

filesize(), 72

floor(), 292–293

fopen(), 69–70, 285–286

fputs(), 71, 286

fread(), 72, 286

fwrite(), 71

getenv(), 254

gethostbyaddr(), 296–297

gethostbyname(), 296–297

header(), 140, 221, 289

hexdec(), 291–292

htmlentities(), 302

htmlspecialchars(), 302

imagearc(), 220

imagecolorallocate(), 220

imagecreate(), 200, 226

imagecreatefrom(), 226

imagecreatefromgif(), 226

imagecreatefromjpg(), 226

imagecreatefrompng(), 226

imagedestroy(), 221

imageellipse(), 220

imagefilledarc(), 221, 223

imagefilledellipse(), 221

imagefilledpolygon(), 221

imagefilledrectangle(), 221

imagegif(), 221

imagejpeg(), 221

imageline(), 220

imagepng(), 221

imagepolygon(), 221

imagerectangle(), 221

implode(), 301–302

include(), 146

isset(), 305–306

list(), 272–273

ltrim(), 301

mail(), 64, 67, 290

microtime(), 283

mkdir(), 287

mktime(), 283

mssql_close(), 279

mssql_connect(), 103, 278

mssql_fetch_array(), 103–104, 107, 279

mssql_free_result(), 279

mssql_query(), 103–104, 279

mssql_result(), 107

mssql_select_db(), 103, 279

multiplier(), 48–49

mysql_close(), 276

mysql_connect(), 47, 91, 275

mysql_error(), 92

mysql_fetch_array(), 92, 95, 181, 276

mysql_free_result(), 276

mysql_insert_id(), 216

mysql_query(), 92, 275

mysql_result(), 92, 95

mysql_select_db(), 92, 275

nl2br(), 302

number_format(), 293

OCIExecute(), 100, 277

OCIFetch(), 278

OCIFetchStatement(), 100–101

OCIFreeStatement(), 100, 278

OCILogoff(), 100, 278

OCILogon(), 100, 277

OCIParse(), 100, 277

OCIResult(), 278

octdec(), 292

odbc_close(), 280

odbc_connect(), 280

odbc_execute(), 280

odbc_free_result(), 280

odbc_prepare(), 280

odbc_result_all(), 280

passthru(), 298

pg_close(), 277

pg_connect(), 95, 276

pg_exec(), 276

pg_fetch_array(), 96–97, 99, 277

pg_fetch_result(), 96, 99

pg_freeresult(), 277

pg_query(), 96

pg_result_error(), 96

phpinfo(), 18, 60, 219, 238, 297

phpversion(), 297

pow(), 293

preg_match(), 62

rand(), 293

rename(), 287–288

reset(), 273

returning values from, 48–49

rmdir(), 288

round(), 294

session-destroy(), 300

session-start(), 155, 198–199, 300

setcookie(), 153, 289

shuffle(), 273–274

sizeof(), 274

sleep(), 295

split(), 299

sprintf(), 44, 302–303

sqrt(), 294

srand(), 294

startElement(), 239–240, 244

stripslashes(), 127, 175, 300–301

strlen(), 303

strtolower(), 304

strtoupper(), 304

substr(), 120, 304–305

sum(), 213

symlink(), 288

system(), 298

time(), 283

trim(), 301

ucfirst(), 305

ucwords(), 305

uniqid(), 295–296

unlink(), 288

unset(), 305–306

usleep(), 295

xml_parse(), 240

xml_parser_create(), 240

xml_set_element_handler, 240

fwrite() function, 71



PHP Essentials
PHP Essentials, 2nd Edition
ISBN: 1931841349
EAN: 2147483647
Year: 2002
Pages: 74

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net