Index: F
Symbols & Numbers
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
Index: F
- factory( ) (Mail): 17.2.3. Discussion
 
- failure returned from functions: 6.10.1. Problem
 
- false values: 6.10.3. Discussion
 
- fatal errors
 
  
  
  - caused by functions with identical names: 6.1. Introduction
 
  
  
  
  - E_USER_ERROR: 10.11.3. Discussion
 
  
 
- fclose( ): 17.5.3. Discussion
 
  - 18.1. Introduction
 
 
- feof( ): 18.7.3. Discussion
 
- fetchInto( )
 
  
  
  - DB class: 10.5.3. Discussion
 
    - 10.15.3. Discussion
 
  
 
  
  
  
  - DB_Result class: 10.5.2. Solution
 
  
 
- fetchRow( )
 
  
  
  - DB class: 10.4.3. Discussion
 
    - 10.15.3. Discussion
 
  
 
  
  
  
  - DB_Pager class: 10.14.3. Discussion
 
  
  
  
  - DB_Result class: 10.5.2. Solution
 
  
 
- fflush( ): 18.18.2. Solution
 
  - 18.25.3. Discussion
 
 
- fgetcsv( ): 1.10.2. Solution
 
  
  
  - skipping selected return values: 6.9.3. Discussion
 
  
 
- fgets( ): 18.1. Introduction
 
  
  
  - counting lines, paragraphs, and records in a file: 18.7.2. Solution
 
  
  
  
  - line length argument for variable length records: 18.13.3. Discussion
 
  
 
- fgetss( ): 11.12.2. Solution
 
- fields
 
  
  
  - hidden form fields, hashes in: 14.4.2. Solution
 
  
  
  
  - variable length text fields, processing from a file: 18.13.1. Problem
 
  
 
- _ _FILE_ _ constant: 8.18.3. Discussion
 
- file( ): 6.3.3. Discussion
 
  - 13.7.3. Discussion
 
  - 18.1. Introduction
 
  - 18.10.2. Solution
 
  
  
  - reading file into an array: 18.16.2. Solution
 
  
  
  
  - reading lines of file into an array: 18.12.2. Solution
 
  
 
- file descriptors for standard error and standard output: 18.24.3. Discussion
 
- file extensions, matching with regular expressions: 7.10.3. Discussion
 
- file handles: 10.3.3. Discussion
 
  - 18.1. Introduction
 
  
  
  - creating with standard I/O streams in CLI binary: 20.1. Introduction
 
  
  
  
  - database connections: 10.3.3. Discussion
 
  
  
  
  - database connections and statements: 10.1. Introduction
 
  
  
  
  - for writing CURLOUT_STDERR: 11.7.3. Discussion
 
  
  
  
  - writing to many simultaneously: 18.20.1. Problem
 
  
  
  
  - writing web page to file: 11.2.3. Discussion
 
  
 
- file transfer protocol (see FTP)
 
- fileatime( ): 19.2.2. Solution
 
- filectime( ): 19.2.2. Solution
 
- file_exists( ): 18.25.3. Discussion
 
- filemtime( ): 18.6.3. Discussion
 
  - 19.2.2. Solution
 
 
- filenames
 
  
  
  - matching a pattern: 19.9.1. Problem
 
  
  
  
  - splitting into component parts: 19.5.1. Problem
 
  
 
- files: 18.1. Introduction
 
  - 19.1. Introduction
 
  - (see also directories)
 
  
  
  - compressed
 
    
    
    - extracting from ZIP archive: 18.27. Program: Unzip
 
    
    
    
    - reading and writing: 18.26.1. Problem
 
    
  
 
  
  
  
  - configuration, reading: 18.14.1. Problem
 
  
  
  
  - cookies, writing to: 18.1. Introduction
 
  
  
  
  - copying or moving: 19.7.1. Problem
 
  
  
  
  - counting lines, paragraphs, or records in: 18.7.1. Problem
 
  
  
  
  - creating or opening local: 18.2.1. Problem
 
  
  
  
  - deleting: 19.6.1. Problem
 
  
  
  
  - escaping shell metacharacters in: 18.21.1. Problem
 
  
  
  
  - finding all lines that match a pattern: 13.7.1. Problem
 
  
  
  
  - flushing output to: 18.18.1. Problem
 
  
  
  
  - functions for information about: 19.1. Introduction
 
  
  
  
  - getting file information: 19.3.1. Problem
 
  
  
  
  - inodes: 19.1. Introduction
 
  
  
  
  - localizing: 16.9.1. Problem
 
  
  
  
  - locking: 18.25.1. Problem
 
    
    
    - advisory locking: 18.25.3. Discussion
 
    
    
    
    - DBM databases: 10.3.3. Discussion
 
    
    
    
    - directory as lock indicator: 18.25.3. Discussion
 
    
    
    
    - exclusive locks: 18.25.3. Discussion
 
    
    
    
    - file as lock indicator: 18.25.3. Discussion
 
    
    
    
    - nonblocking file locks: 18.25.3. Discussion
 
    
    
    
    - text files vs. databases: 10.2.3. Discussion
 
    
    
    
    - unlocking: 18.25.3. Discussion
 
    
  
 
  
  
  
  - modifying in place without temporary file: 18.17.1. Problem
 
  
  
  
  - outputting DOM XML document to: 12.3.3. Discussion
 
  
  
  
  - permissions (see permissions)
 
  
  
  
  - picking random line from: 18.11.1. Problem
 
  
  
  
  - processing all in a directory: 19.8.1. Problem
 
    - 19.10.1. Problem
 
  
 
  
  
  
  - processing backward by line or paragraph: 18.10.1. Problem
 
  
  
  
  - processing each word in: 18.8.1. Problem
 
  
  
  
  - processing variable length text fields: 18.13.1. Problem
 
  
  
  
  - randomizing all lines in: 18.12.1. Problem
 
  
  
  
  - reading data from: 18.1. Introduction
 
  
  
  
  - reading into a string: 18.6.1. Problem
 
  
  
  
  - reading particular line in: 18.9.1. Problem
 
  
  
  
  - reading to/writing from specific location in: 18.15.1. Problem
 
  
  
  
  - reading XML from with DOM: 12.4.2. Solution
 
  
  
  
  - remote, opening: 18.4.1. Problem
 
  
  
  
  - removing last line of: 18.16.1. Problem
 
  
  
  
  - site-search.php program: 19.14. Program: Site Search
 
  
  
  
  - storing encrypted data in: 14.9.3. Discussion
 
    
    
    - retrieving file and decrypting data: 14.9.3. Discussion
 
    
  
 
  
  
  
  - symbolic links: 19.1. Introduction
 
  
  
  
  - temporary, creating: 18.3.1. Problem
 
  
  
  
  - uploaded, processing: 9.7.1. Problem
 
  
  
  
  - writing to many filehandles simultaneously: 18.20.1. Problem
 
  
 
- $_FILES superglobal array: 9.1. Introduction
 
  
  
  - uploaded file processing: 9.7.2. Solution
 
  
 
- filesize( ): 18.6.2. Solution
 
- filled images
 
  
  
  - ellipses and circles: 15.3.3. Discussion
 
  
  
  
  - lines, rectangles, and polygons: 15.2.3. Discussion
 
  
  
  
  - polygons: 15.2.2. Solution
 
  
  
  
  - rectangles: 15.1. Introduction
 
    - 15.2.2. Solution
 
  
 
  
  
  
  - rectangles for bars on bar chart: 15.10. Program: Generating Bar Charts from Poll Results
 
  
 
- first week in a year: 3.8.3. Discussion
 
- Fisher-Yates shuffle for arrays: 4.21.3. Discussion
 
  - 18.12.3. Discussion
 
 
- fixed-width records, parsing in strings: 1.11.1. Problem
 
- flat-file databases (see DBM databases)
 
- flipping arrays: 4.12.3. Discussion
 
- floating-point numbers: 2.1. Introduction
 
  
  
  - comparing: 2.3.1. Problem
 
  
  
  
  - numbers too large or small for: 2.14.1. Problem
 
  
  
  
  - poll results, calculating: 15.10. Program: Generating Bar Charts from Poll Results
 
  
  
  
  - precision of: 2.1. Introduction
 
  
  
  
  - rounding: 2.4.1. Problem
 
  
 
- flock( ): 10.2.3. Discussion
 
  
  
  - advisory locking with: 18.25.2. Solution
 
  
  
  
  - nonblocking locks with: 18.25.3. Discussion
 
  
  
  
  - unlocking files: 18.25.3. Discussion
 
  
 
- flush( ): 8.12.2. Solution
 
  
  
  - Cache_DB class: 10.15.3. Discussion
 
  
 
- flushing buffered data to file: 18.18.1. Problem
 
- fonts
 
  
  
  - GD built-in: 15.5.2. Solution
 
    
    
    - drawing centered text: 15.6.2. Solution
 
      - 15.6.3. Discussion
 
    
 
    
    
    
    - graphical bar chart, use in: 15.10. Program: Generating Bar Charts from Poll Results
 
    
  
 
  
  
  
  - PostScript Type 1: 15.5.2. Solution
 
    
    
    - drawing centered text: 15.6.2. Solution
 
      - 15.6.3. Discussion
 
    
 
    
  
 
  
  
  
  - TrueType: 15.5.2. Solution
 
    
    
    - drawing centered text: 15.6.2. Solution
 
      - 15.6.3. Discussion
 
    
 
    
  
 
  
 
- fopen( ): 1.10.2. Solution
 
  - 11.1. Introduction
 
  - 11.2.2. Solution
 
  - 18.1. Introduction
 
  
  
  - default permission values: 19.1. Introduction
 
  
  
  
  - file handle for writing response headers to file: 11.7.3. Discussion
 
  
  
  
  - file modes: 18.2.3. Discussion
 
  
  
  
  - redirects, following: 11.2.3. Discussion
 
  
  
  
  - remote files: 18.4.2. Solution
 
  
  
  
  - standard I/O streams, using with: 20.1. Introduction
 
    - 20.4.2. Solution
 
  
 
  
  
  
  - stdin, opening: 18.5.2. Solution
 
  
  
  
  - temporary files: 18.3.2. Solution
 
  
  
  
  - username and password in URL: 11.2.3. Discussion
 
  
 
- for loops
 
  
  
  - hexadecimal numbers in: 2.16.3. Discussion
 
  
  
  
  - inverting to reverse array element order: 4.16.3. Discussion
 
  
  
  
  - iterating through arrays: 4.5.2. Solution
 
  
  
  
  - iterating through file information array: 19.3.3. Discussion
 
  
  
  
  - iterating through LDAP address entries: 17.8.3. Discussion
 
  
  
  
  - using instead of range( ): 2.5.2. Solution
 
  
 
- forcing destruction of an object: 7.4.2. Solution
 
- forcing PEAR to overwrite a newer version: 21.8.3. Discussion
 
- foreach loops: 2.5.3. Discussion
 
  
  
  - cycling through arrays and operating on elements: 4.1. Introduction
 
  
  
  
  - finding all combinations of array elements: 4.25.3. Discussion
 
  
  
  
  - finding array elements that meet certain requirements: 4.14.2. Solution
 
  
  
  
  - iterating through arrays: 4.5.2. Solution
 
  
  
  
  - merging arrays: 4.9.3. Discussion
 
  
  
  
  - sparsely filled arrays: 4.24.3. Discussion
 
  
 
- format strings for binary data encoding: 1.14.3. Discussion
 
- formatter-pdf program: 18.21.3. Discussion
 
- formatting
 
  
  
  - dates and times: 3.5.1. Problem
 
  
  
  
  - numbers: 2.10.1. Problem
 
    
    
    - printing hexadecimal numbers: 2.16.3. Discussion
 
    
    
    
    - sprintf( ), using: 2.15.3. Discussion
 
    
  
 
  
  
  
  - time strings: 3.3.3. Discussion
 
  
 
- forms: 9.1. Introduction
 
  
  
  - creating dropdown menus based on current date: 9.12.1. Problem
 
  
  
  
  - elements with multiple options: 9.11.1. Problem
 
  
  
  
  - handling remote variables with periods in names: 9.10.1. Problem
 
  
  
  
  - multipage, working with: 9.4.1. Problem
 
  
  
  
  - multiple submissions, preventing: 9.6.1. Problem
 
  
  
  
  - processing input: 9.2.1. Problem
 
  
  
  
  - redisplaying with preserved information and error messages: 9.5.1. Problem
 
  
  
  
  - secure processing: 9.8.1. Problem
 
  
  
  
  - uploaded files, processing: 9.7.1. Problem
 
  
  
  
  - validating input: 9.3.1. Problem
 
  
  
  
  - verifying with hashes in hidden fields: 14.4.2. Solution
 
  
 
- fpassthru( ): 18.6.3. Discussion
 
- fputs( ): 18.22.2. Solution
 
- fread( ): 11.2.2. Solution
 
  - 18.1. Introduction
 
  - 18.6.2. Solution
 
 
- FreeType library: 15.5.3. Discussion
 
  - 15.6.3. Discussion
 
  - 15.6.3. Discussion
 
 
- French Republican calendar: 3.16.1. Problem
 
  
  
  - converting to/from Julian Days: 3.16.3. Discussion
 
  
 
- frenchtojd( ): 3.16.3. Discussion
 
- fresh-links.php program: 11.16. Program: Finding Fresh Links
 
- fseek( ): 18.15.2. Solution
 
  - 18.16.3. Discussion
 
 
- fsockopen( ): 11.1. Introduction
 
  - 11.3.3. Discussion
 
  - 17.5.3. Discussion
 
 
- fstat( ): 19.3.3. Discussion
 
- ftell( ): 18.15.3. Discussion
 
- FTP: 17.1. Introduction
 
  
  
  - anonymous FTP: 17.7.3. Discussion
 
  
  
  
  - copying files between remote server and your computer: 17.7.3. Discussion
 
  
  
  
  - cURL extension, using with: 17.7.3. Discussion
 
  
  
  
  - downloading or uploading file to existing open file pointer: 17.7.3. Discussion
 
  
  
  
  - transferring files with: 17.7.1. Problem
 
  
 
- ftp_close( ): 17.7.3. Discussion
 
- ftp_fget( ): 17.7.3. Discussion
 
- ftp_fput( ): 17.7.3. Discussion
 
- ftp_get( ): 17.7.3. Discussion
 
- ftp_put( ): 17.7.3. Discussion
 
- ftp_set_option( ): 17.7.3. Discussion
 
- ftruncate( ): 18.17.2. Solution
 
- func_get_arg( ): 6.6.3. Discussion
 
- func_num_args( ): 6.6.3. Discussion
 
- function alias, _( ) for gettext( ): 16.11.3. Discussion
 
- function keyword: 7.1. Introduction
 
- function prototype
 
  
  
  - accessing function parameters: 6.2.2. Solution
 
  
  
  
  - assigning default values to parameters: 6.3.2. Solution
 
  
 
- function_defined( ): 2.14.3. Discussion
 
- functions: 6.1. Introduction
 
  
  
  - calendar conversion: 3.16.2. Solution
 
  
  
  
  - callback (see callback functions)
 
  
  
  
  - class constructor: 7.3.3. Discussion
 
  
  
  
  - DB: 10.4.3. Discussion
 
  
  
  
  - declarations, mixing with invocations: 6.1. Introduction
 
  
  
  
  - declaring: 6.1. Introduction
 
  
  
  
  - directories, manipulating: 19.1. Introduction
 
  
  
  
  - DOM: 12.4.3. Discussion
 
  
  
  
  - drawing arcs and ellipses: 15.3.3. Discussion
 
  
  
  
  - dynamic, creating: 6.13.1. Problem
 
  
  
  
  - encryption: 14.1. Introduction
 
  
  
  
  - ereg (extended regular expressions): 13.1. Introduction
 
    
    
    - converting to preg: 13.2.1. Problem
 
    
  
 
  
  
  
  - error handling: 8.16.3. Discussion
 
  
  
  
  - file information: 19.1. Introduction
 
  
  
  
  - FTP: 17.7.3. Discussion
 
  
  
  
  - global variables, accessing inside: 6.12.1. Problem
 
  
  
  
  - gzipped files: 18.26.3. Discussion
 
  
  
  
  - helper (PHP), for XML-RPC: 12.7.2. Solution
 
  
  
  
  - hyperbolic: 2.12.3. Discussion
 
  
  
  
  - interpolating within strings: 1.8.1. Problem
 
  
  
  
  - mail, sending: 17.2.3. Discussion
 
  
  
  
  - mcrypt extension, supported by PHP: 14.8.3. Discussion
 
  
  
  
  - mean execution time per iteration: 8.26.3. Discussion
 
  
  
  
  - parameters
 
    
    
    - accessing: 6.2.1. Problem
 
    
    
    
    - named: 6.5.1. Problem
 
    
    
    
    - passing by reference: 6.4.1. Problem
 
    
    
    
    - setting default values: 6.3.1. Problem
 
    
    
    
    - variable number of: 6.6.1. Problem
 
    
  
 
  
  
  
  - pc_ in names: 0.4.1. Programming Conventions
 
  
  
  
  - PHP, associating with XML-RPC methods: 12.8.3. Discussion
 
    - 12.8.3. Discussion
 
  
 
  
  
  
  - preg (Perl-compatible regular expressions): 13.1. Introduction
 
  
  
  
  - processing array elements, handing off elements to: 4.5.3. Discussion
 
  
  
  
  - return values, skipping selected: 6.9.1. Problem
 
  
  
  
  - returning failure from: 6.10.1. Problem
 
  
  
  
  - returning localized messages: 16.5.3. Discussion
 
  
  
  
  - returning more than one value: 6.8.1. Problem
 
  
  
  
  - returning values by reference: 6.7.1. Problem
 
  
  
  
  - shell-execution, escaping characters appropriately: 18.21.3. Discussion
 
  
  
  
  - switch statement within: 5.6.3. Discussion
 
  
  
  
  - taking generic objects: 7.12.3. Discussion
 
  
  
  
  - trigonometric: 2.12.1. Problem
 
  
  
  
  - variable, calling: 6.11.1. Problem
 
  
  
  
  - wrapper, for debugging information: 8.20.3. Discussion
 
  
  
  
  - XML parsing: 12.5.2. Solution
 
  
  
  
  - XML-RPC extension: 12.7.2. Solution
 
  
 
- fwrite( ): 18.1. Introduction
 
  - 18.20.3. Discussion
 
  - 18.22.2. Solution
 
 
Symbols & Numbers
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
Copyright © 2003
O'Reilly & Associates, Inc.
All Rights Reserved.