05.05.2013 Views

Programming PHP

Programming PHP

Programming PHP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

| (vertical bar)<br />

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

| (bitwise OR) operator, 41<br />

alternatives, in regular expressions, 98<br />

type specification modifier, 336<br />

Numbers<br />

24-bit color, 217<br />

A<br />

\A (beginning of string) anchor, Perl regular<br />

expressions, 105<br />

ab (Apache benchmarking) utility, 309–311<br />

abs() function, 377<br />

accented characters, converting to HTML<br />

entities, 81<br />

Accept headers, 158<br />

Access, <strong>PHP</strong> ODBC support for, 371–373<br />

accessor macros for zval fields, 333–335<br />

AC_MSG_CHECKING() macro, 329<br />

acos() function, 377<br />

Active Server Pages (ASP), embedding <strong>PHP</strong><br />

with ASP tags, 58<br />

active_symbol_table global variable, 344<br />

addcslashes() function, 85, 378<br />

addition (+) operator, 38<br />

addition assignment (+=) operator, 45<br />

addslashes() function, 85, 164, 378<br />

administrative files, managing with YP/NIS<br />

extension, 469<br />

administrators (database), backend page<br />

for, 205–207<br />

affectedRows() method, 200<br />

AFM (Adobe Font Metric), 245<br />

aliases for EGPCS variables, 160<br />

alignment, PDF text within box, 240<br />

allocating color, 218<br />

alpha channel, 216<br />

enabling/disabling alpha blending, 229<br />

in GD, 228<br />

ImageColorResolveAlpha() function, 231<br />

PNG images in PDF files, 246<br />

alternatives in regular expressions, 98<br />

anchors<br />

in Perl-style regular expressions, 105<br />

in POSIX regular expressions, 100<br />

AND operator<br />

& (bitwise AND), 41<br />

&= (bitwise AND assignment), 45<br />

annotations, in PDF files, 259<br />

anonymous functions, 71<br />

ANSI-compliant C compiler, 7<br />

antialiasing<br />

in GD palette entries, 229<br />

in images, 216<br />

TrueType fonts, 224<br />

turning off, 222<br />

Apache<br />

benchmarking utility, 309–311<br />

library (<strong>PHP</strong> extension), 457<br />

Apache web servers, 7–9<br />

configuring, 8<br />

for cached buttons, 225<br />

<strong>PHP</strong> for, 354<br />

to place session files in your<br />

directory, 291<br />

download site, 353<br />

downloading source distribution, 7<br />

<strong>PHP</strong> functions for, 356<br />

for Windows, 352<br />

applications<br />

code libraries, 297<br />

database (example), 202–212<br />

adding a business, 207–211<br />

administrator’s page, 205–207<br />

database connection, 204<br />

database information, displaying, 211<br />

database tables, 203<br />

error handling, 303–308<br />

defining error handlers, 305–308<br />

reporting errors, 303<br />

suppressing errors, 304<br />

triggering errors, 305<br />

output, handling, 301–303<br />

buffering output, 301<br />

changing references in document, 302<br />

compressing output, 303<br />

performance tuning, 308–316<br />

benchmarking, 309–311<br />

optimizing execution time, 312<br />

optimizing memory requirements, 312<br />

profiling, 311<br />

reverse proxies and<br />

replication, 313–316<br />

templating systems, 298–301<br />

WDDX standard for sharing<br />

information, 468<br />

arcs, drawing, 220, 250<br />

argument list (variable), processing, 337<br />

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

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

Index | 473

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

Saved successfully!

Ooh no, something went wrong!