xviii Contents
15.2.6 Global Variables ....................................................................................501
15.2.7 Adding Custom INI Directives..............................................................503
15.2.8 Thread-Safe Resource Manager Macros...............................................504
15.3 Summary .......................................................................................................505
16 PHP Shell Scripting......................................................................................... 507
16.1 Introduction...................................................................................................507
16.2 PHP CLI Shell Scripts..................................................................................508
16.2.1 How CLI Differs From CGI...................................................................508
16.2.2 The Shell-Scripting Environment.........................................................510
16.2.3 Parsing Command-Line Options ..........................................................512
16.2.4 Good Practices........................................................................................515
16.2.5 Process Control ......................................................................................516
16.2.6 Examples................................................................................................520
16.3 Summary .......................................................................................................526
A PEAR and PECL Package Index ................................................................... 527
A.1 Authentication................................................................................................527
A.2 Benchmarking ................................................................................................530
A.3 Caching ...........................................................................................................530
A.4 Configuration..................................................................................................531
A.5 Console............................................................................................................531
A.6 Database .........................................................................................................533
A.7 Date and Time ................................................................................................542
A.8 Encryption ......................................................................................................543
A.9 File Formats....................................................................................................545
A.10 File System ...................................................................................................548
A.11 Gtk Components...........................................................................................550
A.12 HTML............................................................................................................550
A.13 HTTP.............................................................................................................561
A.14 Images...........................................................................................................563
A.15 Internationalization .....................................................................................566
A.16 Logging..........................................................................................................568
A.17 Mail ...............................................................................................................569
A.18 Math..............................................................................................................571
A.19 Networking ...................................................................................................574
A.20 Numbers........................................................................................................584
A.21 Payment ........................................................................................................585
A.22 PEAR............................................................................................................587
A.23 PHP ...............................................................................................................588
A.24 Processing .....................................................................................................594
A.25 Science...........................................................................................................594
A.26 Streams.........................................................................................................595
A.27 Structures .....................................................................................................596
A.28 System...........................................................................................................598
A.29 Text................................................................................................................599
Gutmans_TOC Page xviii Thursday, September 23, 2004 9:06 AM