Index: S
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: S
- s (whitespace) metasymbol: 13.1. Introduction
 
  - 18.8.3. Discussion
 
 
- Sablotron XSLT processor: 12.6.3. Discussion
 
- salt characters added to encrypted passwords: 14.5.3. Discussion
 
- save-crypt.php program: 14.9.3. Discussion
 
- SAX: 12.5.1. Problem
 
- scalar variables, array processing and: 4.5.3. Discussion
 
- scope, variables: 6.12.3. Discussion
 
- scripts
 
  
  
  - GTK functionality, loading with d1( ): 20.1. Introduction
 
  
  
  
  - web or command-line context, checking for: 20.1. Introduction
 
  
 
- search command (pear): 21.3.2. Solution
 
- searches
 
  
  
  - breadth-first: 19.10.3. Discussion
 
  
  
  
  - depth-first: 19.10.3. Discussion
 
  
  
  
  - site-search.php program: 19.14. Program: Site Search
 
  
 
- secant: 2.12.3. Discussion
 
- secure URLs (HTTPS), retrieving: 11.6.1. Problem
 
- security
 
  
  
  - cookie jar storage and: 11.4.3. Discussion
 
  
  
  
  - encryption and: 14.1. Introduction
 
    
    
    - checking password strength: 14.6.1. Problem
 
    
    
    
    - encrypting email with GPG: 14.12.1. Problem
 
    
    
    
    - encryption/decryption algorithms: 14.8.1. Problem
 
    
    
    
    - keeping passwords out of site files: 14.2.1. Problem
 
    
    
    
    - levels of encryption: 14.1. Introduction
 
    
    
    
    - lost passwords: 14.7.1. Problem
 
    
    
    
    - obscuring data with encoding: 14.3.1. Problem
 
    
    
    
    - protecting encryption keys: 14.1. Introduction
 
    
    
    
    - sharing encrypted data with another web site: 14.10.1. Problem
 
    
    
    
    - SSL: 14.11.1. Problem
 
    
    
    
    - storing encrypted data in file or database: 14.9.1. Problem
 
    
    
    
    - storing passwords: 14.5.1. Problem
 
    
    
    
    - verifying data with hashes: 14.4.1. Problem
 
    
  
 
  
  
  
  - form processing: 9.8.1. Problem
 
  
  
  
  - hiding PHP error messages from user: 8.15.3. Discussion
 
  
  
  
  - serving images: 15.9.1. Problem
 
  
 
- seed for random number generation: 2.6.3. Discussion
 
- SELECT command (SQL)
 
  
  
  - caching query results: 10.15.3. Discussion
 
  
  
  
  - finding number of rows returned by query: 10.9.2. Solution
 
  
 
- sem_acquire( ): 5.7.3. Discussion
 
- semaphores
 
  
  
  - documentation on: 5.7.4. See Also
 
  
  
  
  - guaranteeing exclusive access to shared memory: 5.7.2. Solution
 
  
 
- sem_get( ): 5.7.3. Discussion
 
- sem_release( ): 5.7.3. Discussion
 
- send( ) (Mail_mime): 17.3.3. Discussion
 
- sendmail: 17.2.3. Discussion
 
- sendRequest( ) (HTTP_Request): 11.16. Program: Finding Fresh Links
 
- serialize( ): 5.8.2. Solution
 
  - 9.4.3. Discussion
 
  
  
  - storing complex data in DBM files: 10.3.3. Discussion
 
  
  
  
  - storing complex data in text file database: 10.2.2. Solution
 
  
 
- serializing WDDX variables: 12.11.3. Discussion
 
- $_SERVER superglobal array: 9.1. Introduction
 
- servers
 
  
  
  - DNS, parsing out names and IP addresses of: 17.12.3. Discussion
 
  
  
  
  - HTTP proxy server, configuring PEAR to use with: 21.2.3. Discussion
 
  
  
  
  - IMAP: 17.4.3. Discussion
 
  
  
  
  - LDAP
 
    
    
    - communicating with: 17.8.3. Discussion
 
    
    
    
    - downloading: 17.8.3. Discussion
 
    
  
 
  
  
  
  - parsing log file: 11.14.1. Problem
 
  
  
  
  - POP3: 17.4.3. Discussion
 
  
  
  
  - SMTP: 17.2.3. Discussion
 
  
  
  
  - SOAP_Server class: 12.10.2. Solution
 
  
  
  
  - timeouts on request waiting length: 11.7.3. Discussion
 
  
  
  
  - unencrypted data, snooping on: 14.9.3. Discussion
 
  
  
  
  - web server directory listing (web-ls.php): 19.13. Program: Web Server Directory Listing
 
  
  
  
  - writing PHP error messages to log: 8.15.3. Discussion
 
  
  
  
  - XML-RPC: 12.8.3. Discussion
 
  
 
- service( ) (SOAP_Server): 12.10.3. Discussion
 
- session IDs: 8.6.3. Discussion
 
  
  
  - correlating to usernames: 8.11.3. Discussion
 
  
 
- session module: 8.6.2. Solution
 
  
  
  - tracking users with: 8.25.3. Discussion
 
  
 
- $_SESSION superglobal array: 8.6.2. Solution
 
  - 8.11.3. Discussion
 
  - 9.4.3. Discussion
 
 
- session tracking: 8.6.1. Problem
 
  
  
  - multipage forms, using with: 9.4.2. Solution
 
  
  
  
  - storing sessions in database: 8.7.1. Problem
 
    
    
    - pc_DB_Session class: 8.7.3. Discussion
 
    
  
 
  
 
- session.entropy_file configuration directive: 8.11.3. Discussion
 
- session.entropy_length configuration directive: 8.11.3. Discussion
 
- session_name( ): 8.6.3. Discussion
 
- session_save_path( ): 8.6.3. Discussion
 
- session_set_save_handler( ): 8.7.3. Discussion
 
- session_start( ): 8.6.2. Solution
 
  - 9.4.3. Discussion
 
 
- set_attribute( ): 12.3.3. Discussion
 
- setcookie( ): 8.2.2. Solution
 
  
  
  - deleting cookies: 8.4.2. Solution
 
  
  
  
  - eliminating "headers already sent" errors: 8.19.1. Problem
 
  
  
  
  - sending only over SSL connections: 14.11.3. Discussion
 
  
 
- set_error_handler( ): 8.16.3. Discussion
 
  - 8.17.2. Solution
 
 
- setErrorHandling( ) (DB): 10.11.3. Discussion
 
- setFetchMode( ) (DB): 10.5.3. Discussion
 
- setgid bit: 19.1. Introduction
 
  - 19.3.3. Discussion
 
 
- setHTMLBody( ) (Mail_mime): 17.3.3. Discussion
 
- setlocale( ): 16.3.2. Solution
 
  - 16.4.2. Solution
 
 
- setMarker( ) (Benchmark::Timer): 8.26.3. Discussion
 
- set_submenu( ) (GtkMenuItem): 20.9.2. Solution
 
- set_text( ) (GtkButton): 20.8.3. Discussion
 
- setTXTBody( ) (Mail_mime): 17.3.3. Discussion
 
- settype( ): 4.5.3. Discussion
 
- setuid bit: 19.1. Introduction
 
  - 19.3.3. Discussion
 
 
- shapes, drawing (see graphics)
 
- shared locks: 18.25.3. Discussion
 
- shared memory segments
 
  
  
  - documentation on: 5.7.4. See Also
 
  
  
  
  - storing shared variables in: 5.7.2. Solution
 
  
 
- shells
 
  
  
  - globbing filenames: 19.9.3. Discussion
 
    
    
    - wildcards in: 10.10.3. Discussion
 
    
  
 
  
  
  
  - metacharacters, escaping: 18.21.1. Problem
 
  
  
  
  - redirecting standard error to standard output: 18.24.3. Discussion
 
  
 
- shifting array elements: 4.6.3. Discussion
 
- shm_attach( ): 5.7.3. Discussion
 
- shm_detach( ): 5.7.3. Discussion
 
- shm_get_var( ): 5.7.3. Discussion
 
- shm_put_var( ): 5.7.3. Discussion
 
- short_open_tag configuration directive: 12.2.3. Discussion
 
- show_all( ) (GtkWindow): 20.6.3. Discussion
 
- shuffle( ): 4.21.2. Solution
 
  - 18.12.3. Discussion
 
 
- shuffling deck of cards: 4.22.1. Problem
 
- shutdown( ) (GtkWindow): 20.6.3. Discussion
 
- signals
 
  
  
  - associating with callback functions to handle user actions: 20.8.2. Solution
 
  
  
  
  - from GUI widgets, handling: 20.6.3. Discussion
 
  
  
  
  - from menu items in GTK window: 20.9.3. Discussion
 
  
 
- Simple API for XML (see SAX)
 
- simple difference between arrays: 4.24.2. Solution
 
  - 4.24.3. Discussion
 
 
- Simple Object Access Protocol (see SOAP)
 
- sin( ): 2.12.2. Solution
 
- single quotes (see ', under Symbols)
 
- sinh( ): 2.12.3. Discussion
 
- site-search.php program: 19.14. Program: Site Search
 
- Smarty templates: 11.13.1. Problem
 
  
  
  - displaying rows retrieved from database: 11.13.3. Discussion
 
  
 
- SMTP server: 17.2.3. Discussion
 
- SOAP: 12.1. Introduction
 
  
  
  - creating server and responding to SOAP requests: 12.10.1. Problem
 
  
  
  
  - requests, sending: 12.9.1. Problem
 
  
 
- SOAP_Client class: 12.9.3. Discussion
 
- SOAP_Server class: 12.10.2. Solution
 
- SOAP_Server::addObjectMap( ): 12.10.3. Discussion
 
- SOAP_Server::service( ): 12.10.3. Discussion
 
- SOAP_Value class: 12.9.3. Discussion
 
- SOAP_WSDL class: 12.9.3. Discussion
 
- SOAP_WSDL::getProxy( ): 12.9.3. Discussion
 
- sockets
 
  
  
  - connections to news server: 17.5.2. Solution
 
  
  
  
  - opening with fsockopen( ): 11.1. Introduction
 
  
  
  
  - SSL (Secure Sockets Layer): 8.2.3. Discussion
 
    - 11.6.3. Discussion
 
    - 17.4.3. Discussion
 
  
 
  
 
- Solaris systems, locale program: 16.2.3. Discussion
 
- sort( ): 4.17.2. Solution
 
- sorting
 
  
  
  - arrays: 4.17.1. Problem
 
    
    
    - by a computable field: 4.18.1. Problem
 
    
    
    
    - copying first to retain original order: 4.15.3. Discussion
 
    
    
    
    - method, using instead of a function: 4.20.1. Problem
 
    
    
    
    - modifying sort type: 4.19.2. Solution
 
    
    
    
    - multiple: 4.19.1. Problem
 
    
    
    
    - in reverse order: 4.15.3. Discussion
 
    
    
    
    - shuffling deck of cards: 4.22.1. Problem
 
    
  
 
  
  
  
  - text for different locales: 16.1. Introduction
 
  
 
- space-padded strings: 1.11.3. Discussion
 
  - 1.14.3. Discussion
 
 
- spaces: 1.6.1. Problem
 
  - (see also whitespace)
 
  
  
  - changing to/from tabs in strings: 1.6.1. Problem
 
  
 
- sparsely filled arrays: 4.24.3. Discussion
 
- special characters
 
  
  
  - escaping in HTML: 9.9.3. Discussion
 
  
  
  
  - escaping in queried data: 10.10.2. Solution
 
  
  
  
  - in regular expressions (see metacharacters metasymbols)
 
  
  
  
  - in SQL: 10.1. Introduction
 
  
  
  
  - SQL and shell globbing wildcards, escaping: 10.10.3. Discussion
 
  
  
  
  - in URL encoding: 8.9.3. Discussion
 
  
 
- split( ): 1.12.2. Solution
 
- splitting a string on a regular expression: 13.10.2. Solution
 
- sprintf( )
 
  
  
  - combining with msg( ): 16.5.3. Discussion
 
  
  
  
  - converting decimal numbers to binary, octal and hexadecimal numbers: 2.15.3. Discussion
 
  
  
  
  - formatting poll result numbers: 15.10. Program: Generating Bar Charts from Poll Results
 
  
 
- SQL (Structured Query Language)
 
  
  
  - databases
 
    
    
    - connecting to: 10.4.1. Problem
 
    
    
    
    - modifying data in: 10.7.1. Problem
 
    
    
    
    - paired with PHP: 10.1. Introduction
 
    
    
    
    - querying: 10.5.1. Problem
 
    
  
 
  
  
  
  - portability of: 10.1. Introduction
 
  
  
  
  - special characters in: 10.1. Introduction
 
  
  
  
  - wildcard characters, quoting in database queries: 10.10.3. Discussion
 
  
 
- square brackets (see [ ], under Symbols)
 
- srand( ): 14.8.3. Discussion
 
- SSL (Secure Sockets Layer): 14.11.1. Problem
 
  
  
  - cookies, sending over: 8.2.3. Discussion
 
  
  
  
  - cURL extension, using with: 11.6.3. Discussion
 
  
  
  
  - IMAP and POP3 connections: 17.4.3. Discussion
 
  
 
- stale-links.php program: 11.15. Program: Finding Stale Links
 
- standard error: 20.1. Introduction
 
  
  
  - printing cURL module debugging information to: 11.7.3. Discussion
 
  
  
  
  - reading from a program: 18.24.1. Problem
 
  
  
  
  - writing to: 18.19.3. Discussion
 
  
 
- standard input: 20.1. Introduction
 
  
  
  - reading from: 18.5.1. Problem
 
  
  
  
  - reading from the keyboard: 20.4.1. Problem
 
  
 
- standard output: 20.1. Introduction
 
  
  
  - reading from a program: 18.23.1. Problem
 
  
  
  
  - redirecting standard error to: 18.24.2. Solution
 
  
  
  
  - writing to: 18.19.1. Problem
 
  
 
- start( ) (Auth): 17.9.3. Discussion
 
- start tags, PHP: 18.14.3. Discussion
 
- start_element( ): 12.5.3. Discussion
 
- starting and ending angles (in degrees) for arcs: 15.3.3. Discussion
 
- stat( ) function: 19.1. Introduction
 
  - 19.3.2. Solution
 
  
  
  - calling on symbolic links: 19.3.3. Discussion
 
  
  
  
  - file information returned by: 19.3.3. Discussion
 
  
 
- statement handles: 10.1. Introduction
 
- static variables: 5.6.1. Problem
 
- stdclass class: 7.1. Introduction
 
  
  
  - adding properties to base object: 7.12.2. Solution
 
  
 
- sticky bit: 19.1. Introduction
 
- strace( ): 18.24.1. Problem
 
- strftime( ): 3.2.2. Solution
 
  - 3.2.4. See Also
 
  
  
  - button displaying current time: 20.8.3. Discussion
 
  
  
  
  - %c format string (for localization): 16.6.2. Solution
 
  
  
  
  - day of week, month, or year, week of the year: 3.8.2. Solution
 
  
  
  
  - formatting dates and times: 3.5.3. Discussion
 
  
  
  
  - start date for time ranges: 3.15.2. Solution
 
  
 
- string concatenation operator(.): 1.8.2. Solution
 
- strings: 1.1. Introduction
 
  
  
  - as array keys: 4.1. Introduction
 
    
    
    - arrays for multiple return values: 6.9.3. Discussion
 
    
    
    
    - merging: 4.8.3. Discussion
 
    
    
    
    - mixing with numeric: 4.2.3. Discussion
 
    
  
 
  
  
  
  - binary data, storing in: 1.14.1. Problem
 
  
  
  
  - breaking into smaller pieces: 1.12.1. Problem
 
  
  
  
  - case, controlling: 1.7.1. Problem
 
  
  
  
  - checking for valid number: 2.2.1. Problem
 
  
  
  
  - complex data types, encapsulating as: 5.8.1. Problem
 
    
    
    - serializing strings: 5.8.2. Solution
 
    
  
 
  
  
  
  - compressing: 18.26.3. Discussion
 
  
  
  
  - converting arrays to: 4.9.1. Problem
 
  
  
  
  - converting to/from numbers: 2.1. Introduction
 
  
  
  
  - double-quoted, variable interpolation in: 17.4.3. Discussion
 
  
  
  
  - dumping variable contents as: 5.9.1. Problem
 
  
  
  
  - empty: 5.1. Introduction
 
    
    
    - assigning as default value of function parameter: 6.3.3. Discussion
 
    
  
 
  
  
  
  - escape sequences: 1.1. Introduction
 
  
  
  
  - expanding and compressing tabs: 1.6.1. Problem
 
  
  
  
  - in heredocs: 1.1. Introduction
 
  
  
  
  - initializing: 1.1. Introduction
 
  
  
  
  - interpolating functions and expressions: 1.8.1. Problem
 
  
  
  
  - numeric: 2.2.3. Discussion
 
  
  
  
  - outputting DOM XML document to: 12.3.3. Discussion
 
  
  
  
  - parsing comma-separated data: 1.10.1. Problem
 
  
  
  
  - parsing dates and times from: 3.10.1. Problem
 
  
  
  
  - parsing fixed-width records in: 1.11.1. Problem
 
  
  
  
  - processing one character at a time: 1.4.1. Problem
 
  
  
  
  - quoting in queried data: 10.10.2. Solution
 
  
  
  
  - reading files into: 18.6.1. Problem
 
  
  
  
  - returning all program output as single string: 18.23.3. Discussion
 
  
  
  
  - reversing by word or character: 1.5.1. Problem
 
  
  
  
  - splitting on regular expression: 13.10.2. Solution
 
  
  
  
  - substrings
 
    
    
    - accessing: 1.2. Accessing Substrings
 
    
    
    
    - replacing: 1.3.1. Problem
 
    
  
 
  
  
  
  - trimming blanks from: 1.9.1. Problem
 
  
  
  
  - wrapping text: 1.13.1. Problem
 
  
 
- stripslashes( ): 5.8.3. Discussion
 
- strip_tags( ): 11.12.2. Solution
 
  - 13.5.3. Discussion
 
 
- strnatcmp( ): 4.18.3. Discussion
 
- strpos( ): 6.10.3. Discussion
 
- str_replace( ): 2.2.4. See Also
 
  
  
  - switching tabs to/from spaces: 1.6.2. Solution
 
  
 
- strrev( ): 1.5.2. Solution
 
- strtolower( ): 1.7.2. Solution
 
  - 1.7.3. Discussion
 
 
- strtotime( ): 3.10.2. Solution
 
  
  
  - adding to/subtracting from a date: 3.11.2. Solution
 
  
  
  
  - parsing date formats: 3.10.3. Discussion
 
  
 
- strtoupper( ): 1.7.2. Solution
 
  - 1.7.3. Discussion
 
 
- strtr( ): 10.10.3. Discussion
 
- structured access to databases: 10.2.3. Discussion
 
- stylesheets, XSL: 12.6.1. Problem
 
- subclassing: 7.1. Introduction
 
- substr( ): 1.2.1. Solution
 
  
  
  - parsing fixed-width records in strings: 1.11.2. Solution
 
  
  
  
  - unpack( ), substituting for in fixed-width field extraction: 1.11.3. Discussion
 
  
 
- substrings (see strings)
 
- substr_replace( ): 1.3.2. Solution
 
- subtracting from a date: 3.11.1. Problem
 
- summer time (see daylight saving time)
 
- superglobal arrays: 9.1. Introduction
 
- superuser, changing file permissions and ownership: 19.4.3. Discussion
 
- switch statements: 5.6.3. Discussion
 
  
  
  - in method polymorphism emulation: 7.10.3. Discussion
 
  
 
- symbolic links: 19.1. Introduction
 
  
  
  - calling stat( ) on: 19.3.3. Discussion
 
  
  
  
  - is_dir( ) function and: 19.10.3. Discussion
 
  
 
- symmetric difference between arrays: 4.24.2. Solution
 
  - 4.24.3. Discussion
 
 
- syslog(3) (Unix): 8.15.3. Discussion
 
- system( ): 18.21.3. Discussion
 
- system calls
 
  
  
  - displayed by strace( ), capturing: 18.24.1. Problem
 
  
  
  
  - fooling system function mktime( ) for time zones: 3.12.3. Discussion
 
  
  
  
  - stat( ): 19.3.3. Discussion
 
  
 
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.