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.

parameters<br />

form<br />

accessing from <strong>PHP</strong> code, 163<br />

multi-valued, 168–170<br />

sticky multi-valued, 170<br />

function, 33, 61, 66–69<br />

default, 67<br />

handling in extensions, 335–337<br />

missing, 69<br />

passing by reference, 66<br />

passing by value, 66<br />

variable numbers of, 68<br />

PDF, setting, 235<br />

parent class, getting name of, 150<br />

parse errors, 303<br />

parse() function, 269<br />

parse_ini_file() function, 429<br />

parse_str() function, 227, 429<br />

parse_url() function, 95, 430<br />

parsing XML, 265–277<br />

character data handler, 267<br />

creating a parser, 271<br />

default handler, 270<br />

element handlers, 266<br />

entity handlers, 268<br />

errors, 272<br />

methods as handlers, 273<br />

options, 270<br />

<strong>PHP</strong>’s XML parser, 266<br />

processing instructions, 267<br />

sample application, 273–277<br />

passing by reference, 66<br />

passing by value, 66<br />

passthru() function, 430<br />

security risks with shell commands, 295<br />

passwords, authenticating, 177<br />

pathinfo() function, 430<br />

paths, specifying for graphical<br />

shapes, 249–252<br />

pattern matching (see regular expressions)<br />

patterns for filling or stroking<br />

paths, 252–254<br />

pclose() function, 430<br />

PDF (Portable Document Format), 233–261<br />

attaching files to document, 260<br />

clibpdf extension, 458<br />

documents and pages, 233<br />

documents, terminating and<br />

streaming, 236<br />

graphics in, 249–254<br />

patterns for filling or stroking<br />

paths, 252–254<br />

494 | Index<br />

images and graphics, templates<br />

for, 253–255<br />

images in, 246–249<br />

metadata, setting, 235<br />

module, checking if installed, 302<br />

navigation features, 255–259<br />

bookmarks and thumbnails, 256–258<br />

links, 257<br />

note annotations, 259<br />

outputting basic text, 236<br />

pages, creating, 235<br />

page transitions, 261<br />

pdflib extension, 466<br />

<strong>PHP</strong> extensions for, 233<br />

text in, 237–246<br />

altering appearance of, 241–243<br />

coordinates for placement, 237–239<br />

fonts, 243–246<br />

functions for manipulating, 239–241<br />

pdf_add_bookmark() function, 256<br />

pdf_add_launchlink() function, 258<br />

pdf_add_locallink() function, 257<br />

pdf_add_note() function, 259<br />

pdf_add_pdflink() function, 258<br />

pdf_add_weblink() function, 258<br />

pdf_arc() function, 250<br />

pdf_attach_file() function, 260<br />

pdf_begin_pattern() function, 252<br />

pdf_begin_template() function, 254<br />

pdf_circle() function, 249<br />

pdf_close() function, 236<br />

pdf_closepath() function, 250<br />

pdf_continue_text() function, 240<br />

pdf_curveto() function, 250<br />

pdf_delete() function, 237<br />

pdf_end_page() function, 235<br />

pdf_end_template() function, 254<br />

pdf_fill_stroke() function, 250<br />

pdf_findfont() function, 244<br />

pdf_get_buffer() function, 234<br />

pdf_get_parameter() function, 235<br />

pdf_get_value() function, 247<br />

pdflib extension, 233, 244, 466<br />

links and, 257<br />

nonstandard fonts and, 244<br />

parameters, 235<br />

pdflib.upr file, 244<br />

transparency and, 246<br />

pdf_lineto() function, 249<br />

pdf_moveto() function, 249<br />

pdf_new() function, 234<br />

pdf_open_ format() function, 247<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!