Section 16.3. Summary

16.3. Summary

In this chapter, you went beyond the web environment and learned how to use PHP for command-line shell scripting. Although Perl and shell scripts are the dominant players in this arena, writing PHP scripts allows you to re-use PHP and PEAR library code for offline maintenance tools. You have learned about

  • Parsing command-line options using PEAR Console_Getopt

  • Good shell script behavior

  • Dealing with standard input/output

  • Process control

  • Writing PHP servers

Hopefully, this is a powerful supplement to your PHP toolbox.

    PHP 5 Power Programming
    PHP 5 Power Programming
    ISBN: 013147149X
    EAN: 2147483647
    Year: 2003
    Pages: 240

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: