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.

System V Semaphores and Shared<br />

memory, 468<br />

vpopmail, 468<br />

WDDX, 468<br />

writing in C for <strong>PHP</strong>, 317–350<br />

architectural overview, 317<br />

command-line <strong>PHP</strong>, 319<br />

compiling, 325<br />

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

creating variables, 345–347<br />

developers mailing list, 350<br />

external dependencies, 328<br />

function return values, 338–341<br />

global variables, 343–345<br />

INI entries, 347<br />

memory-management<br />

functions, 329–331<br />

parameter handling, 335–337<br />

<strong>PHP</strong> source code, downloading<br />

latest, 318<br />

planning, 320<br />

pval/zval data type, 331–335<br />

references, 342<br />

resources, 349<br />

skeleton extension, creating and<br />

fleshing out, 320, 322–325<br />

software tools, 319<br />

testing, 326<br />

XML parser, 468<br />

xmlrpc, 280<br />

documentation, web site, 284<br />

XSLT, 277, 469<br />

YAZ, 469<br />

YP/NIS, 469<br />

Zend, 317<br />

ZIP files, 469<br />

external XML entities, 268<br />

parsing, 269<br />

extract() function, 124, 397<br />

extracting multiple values from arrays, 120<br />

F<br />

fall-through case, combining cases in, 49<br />

false keyword, 27<br />

fclose() function, 397<br />

feof() function, 358, 397<br />

fetchInto() method, 192, 196<br />

fetchRow() method, 195<br />

fgetc() function, 398<br />

fgets() function, 398<br />

fgetss() function, 398<br />

file endings on Unix and Windows, 358<br />

file formats, image, 216<br />

button supporting multiple, 227<br />

changing, 218<br />

in PDF files, 246<br />

testing for supported, 219<br />

file globbing, 359<br />

file permissions, security and, 291<br />

file() function, 399<br />

fileatime() function, 399<br />

filectime() function, 399<br />

file_exists() function, 399<br />

filegroup() function, 399<br />

fileinode() function, 399<br />

filemtime() function, 400<br />

filenames, security and, 287–289<br />

fileowner() function, 400<br />

fileperms() function, 400<br />

filePro extension, 461<br />

files<br />

attaching to PDF document, 260<br />

compressed<br />

ZIP files extension, 469<br />

zlib compression extension, 469<br />

compressing, 458<br />

deleting, unlink() function (example), 62<br />

fflush() function, 398<br />

functions for, 376<br />

included or required, getting, 56<br />

last-modification date, 409<br />

not using files for security reasons, 292<br />

reading and outputting contents, 436<br />

renaming, 437<br />

temporary, 452<br />

uploaded, moving, 424<br />

uploading, 172, 289<br />

information about ($HTTP_POST_<br />

FILES), 160<br />

writing PDF data to, 234<br />

$_FILES array, 172<br />

accessing form parameters, 163<br />

filesize() function, 224, 400<br />

filesystem, functions for, 376<br />

filetype() function, 400<br />

filled images, drawing, 220<br />

filling<br />

graphic paths, 250–252<br />

patterns for, 252–254<br />

text, 242<br />

FillTemplate() function, 299, 300<br />

filtering elements from an array, 136<br />

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

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

Index | 483

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

Saved successfully!

Ooh no, something went wrong!