05.05.2013 Views

Programming PHP

Programming PHP

Programming PHP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

dates and times (continued)<br />

gettimeofday() function, 411<br />

gmmktime() function, 411<br />

ICAP extension for calendar events, 462<br />

locales, formatting for, 445<br />

seconds and microseconds since Unix<br />

epoch, 423<br />

timeout for current script, setting, 439<br />

timestamps, 411, 421, 424, 451<br />

dBase library, 459<br />

DB::connect() method, 192, 194<br />

DB_FETCHMODE_ASSOC, 196<br />

DB_FETCHMODE_OBJECT, 197<br />

DB_FETCHMODE_ORDERED, 196<br />

DB::getMessage() method, 195<br />

DB::isError() method, 192, 194<br />

DBM-style database abstraction library, 460<br />

DBM-style database library, 460<br />

DB_OK constant, 195<br />

$db->query() method, 192<br />

dbx extension, 460<br />

DDE (Dynamic Data Exchange), 360<br />

DDL (Data Definition Language), 191<br />

debugging<br />

database connections, 194<br />

extensions, 330<br />

object-oriented programs, 141<br />

state, program for, 138<br />

decbin() function, 392<br />

dechex() function, 392<br />

decimal numbers, 24<br />

formatting for printf(), 77<br />

declarations, unparsed entities, 269<br />

declare statements, 54<br />

declared classes, getting array of, 148<br />

declaring<br />

methods, 143<br />

properties, 144<br />

static function variables, 66<br />

variables by setting value, 30<br />

decoct() function, 392<br />

decoding URL-encoded strings, 84<br />

decomposing strings, 91–93<br />

URLs, 95<br />

default handler, XML parsing, 270<br />

default keyword, 49<br />

define() function, 23<br />

define_syslog_variables() function, 393<br />

defining<br />

classes, 28, 141, 143<br />

functions, 62–64<br />

nested declarations, 64<br />

480 | Index<br />

deg2rad() function, 393<br />

deleting<br />

files with unlink() function, 62<br />

text from strings, 90<br />

delimiters, pattern, 104<br />

dereferencing zval, 335<br />

derived classes, 141, 418<br />

descending order, sorting arrays in, 130<br />

destroy handler for sessions, 187<br />

destructor function for resource, 349<br />

developers sites<br />

Microsoft, 361<br />

<strong>PHP</strong> extensions (C language), 350<br />

die() function, 54, 62<br />

difference between arrays, calculating, 136<br />

dimensions of images in PDF files, 247<br />

directories<br />

current working directory, 408<br />

deleting, 437<br />

dirname() function, 393<br />

functions for, 376<br />

LDAP protocol extension, 463<br />

mkdir() function, 424<br />

disable_functions option (php.ini), 295<br />

disconnect () method, 197<br />

disk_free_space() function, 393<br />

disk_total_space() function, 393<br />

display_classes() function, 148<br />

displaying <strong>PHP</strong> values in human-readable<br />

form, 79<br />

Distributed COM (DCOM), 360<br />

division (/) operator, 38<br />

division assignment (/=) operator, 45<br />

dl() function, 393<br />

DML (Data Manipulation Language), 191<br />

Document Type Definition (DTD), 263<br />

documents, PDF, 233<br />

Hello World (example), 234<br />

initializing, 234<br />

terminating and streaming, 236<br />

DOM (Document Object Model) XML<br />

library, 460<br />

doubleval() function, 393<br />

do/while loops, 51<br />

drawing images<br />

basic drawing functions, 220<br />

drawing primitives in GD, 218<br />

in PDF documents, 249–252<br />

dropSequence() method, 202<br />

DSN (data source name), 192<br />

configuring with ODBC <strong>PHP</strong>, 367<br />

selecting appropriate, 204<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2002 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!