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.

serialization of, 153–157, 438<br />

_ _sleep() and _ _wakeup()<br />

methods, 155<br />

logfile (example), 155–157<br />

unserializing, 454<br />

in XML parsing, 273<br />

ob_start() function, 301, 427<br />

octal numbers, 24<br />

octdec() function, 427<br />

ODBC data sources, interacting<br />

with, 367–373<br />

Access, 371–373<br />

configuring a DSN, 367<br />

Excel<br />

accessing data, 368<br />

limitations as database, 369–371<br />

ODBC extension, 465<br />

OLE (Object Linking and Embedding), 360<br />

COM objects and parameters, exposing<br />

with Word macro, 361–363<br />

OOP (see object-oriented programming)<br />

open_basedir option, restricting filesystem<br />

access with, 288, 289<br />

opendir() function, 427<br />

opening<br />

files, 401<br />

sessions, 185<br />

TCP or UDP connection on remote<br />

host, 403<br />

on specific port, 431<br />

openlog() function, 428<br />

operands, 34<br />

number of, 36<br />

operating systems<br />

determining, 355, 431<br />

supporting <strong>PHP</strong>, 1<br />

operators, 34–46<br />

arithmetic, 38<br />

assignment, 44–46<br />

associativity of, 36<br />

autoincrement and autodecrement, 39<br />

bitwise, 41–42<br />

casting, 43<br />

casting operand types, 37<br />

comparison, 39<br />

logical, 42<br />

miscellaneous, 46<br />

number of operands, 36<br />

precedence of, 36<br />

string concatenation, 38<br />

summary of, 34<br />

optimizing<br />

code, 308<br />

database connections, 194<br />

execution time, 312<br />

memory requirements, 312<br />

OR operator<br />

| (bitwise OR), 41<br />

|= (bitwise OR assignment) operator, 46<br />

Oracle extensions, 465<br />

ord() function, 428<br />

origin (PDF coordinates), changing, 238<br />

out-of-process server, 360<br />

output, 301–303<br />

buffering, 301<br />

in error handlers, 307<br />

functions for, 426<br />

setting file buffer size, 439<br />

changing document references, 302<br />

with rewrite() callback function, 302<br />

compressing, 303<br />

end-of-line handling on Windows, 358<br />

functions for, 376<br />

PDF<br />

basic text, 236<br />

buffering, 234<br />

phpinfo() function, checking for<br />

installed module, 302<br />

overline, text in PDF files, 241<br />

overriding methods, derived class vs. parent<br />

class, 145<br />

Ovrimos SQL extension, 465<br />

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

Copyright © 2002 O’Reilly & Associates, Inc. All rights reserved.<br />

P<br />

pack() function, 428<br />

padding<br />

arrays, 119<br />

printf() output, 78<br />

specifying in printf() format modifier, 77<br />

strings, 91<br />

pages, PDF<br />

creating, 235<br />

transitions, 261<br />

(see also web pages)<br />

palette, 216<br />

GD entries, 229<br />

palleted images, converting to true<br />

color, 229<br />

Index | 493

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

Saved successfully!

Ooh no, something went wrong!