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.

comparing<br />

floating-point values, 25<br />

strings, 86–89, 447<br />

for approximate equality, 88<br />

for equality, 86<br />

comparison operators, 39<br />

== (equal to) operator, 26<br />

in string comparisons, 87<br />

compiling C-language <strong>PHP</strong> extensions, 325<br />

into <strong>PHP</strong>, 326<br />

complement, string searches for, 95<br />

compound (collection) types, 23<br />

compressing output, 303, 458<br />

ZIP files, extension for, 469<br />

zlib compression extension, 469<br />

concatenate assignment (.+) operator, 46<br />

concatenating strings, 37<br />

.+ (concatenation assignment)<br />

operator, 46<br />

. (string concatenation) operator, 38<br />

strcat() function, 63<br />

conditional (?:) operator, 46, 48<br />

conditional expressions in regular<br />

expressions, 110<br />

conditional statements, 46<br />

configuration<br />

config.m4 file for extension, 327–329<br />

external dependencies, 328<br />

getting variables, 405<br />

open_basedir in httpd.conf, 289<br />

configuration page for <strong>PHP</strong>, creating, 10<br />

configure command (<strong>PHP</strong>), database<br />

support, 190<br />

configuring<br />

Apache and <strong>PHP</strong>, 8<br />

data source name (DSN) with ODBC<br />

<strong>PHP</strong>, 367<br />

<strong>PHP</strong> on Windows<br />

adding extensions, 354<br />

with <strong>PHP</strong> installer, 353<br />

steps for all Microsoft<br />

installations, 352<br />

with a web server, 352–354<br />

safe_mode in php.ini file, 293<br />

server to place session files in your own<br />

directory, 291<br />

connections, database, 192, 194, 204<br />

constants, 22<br />

in array keys, 117<br />

default function parameter values, 67<br />

defined, getting, 406<br />

478 | Index<br />

constant-width expressions, Perl lookbehind<br />

assertions, 109<br />

constructors, 145<br />

Content-Type header, 159, 176<br />

continue statements, 51<br />

in do/while loops, 52<br />

in for loops, 53<br />

convert_cyr_string() function, 389<br />

converting data types, 37<br />

between arrays and variables, 124<br />

$_COOKIE array, 180<br />

cookies, 179–182<br />

combining with sessions, 187<br />

decoding names, 180<br />

global variables<br />

controlling with variables_order<br />

directive, 287<br />

for uploaded file, overwriting, 290<br />

$HTTP_COOKIE_VARS array, 160<br />

problems with, 182<br />

quotes state for operations, 407<br />

session IDs, storing in, 182<br />

alternative means for storing, 184<br />

setting, 439<br />

setting preferences with, 181<br />

coordinates, PDF pages, 237–239<br />

changing the origin, 238<br />

copy() function, 389<br />

copying<br />

array values into variables, 120<br />

a zval container, 332<br />

copy-on-write, managing memory with, 33<br />

CORBA, Satellite Client extension, 467<br />

cos() function, 390<br />

count() function, 119, 390<br />

count_chars() function, 390<br />

counters, initialization and manipulation in<br />

for statement, 52<br />

counting references to values in symbol<br />

tables, 33<br />

crc32() function, 390<br />

create_function() function, 71, 390<br />

create_parser() function, 269<br />

createSequence() function, 202<br />

credentials, 177<br />

credit-card processing services<br />

CCVS library, 458<br />

Cybercash libraries, 459<br />

validator, using Luhn checksum, 101<br />

Verisign Payflow Pro extension, 466<br />

crypt() function, 391<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!