Command-line scripting

A Command Line Interface Server Application Programming Interface (CLI SAPI) has existed for PHP since v4.2, but only with the release of 4.3 did it come to maturity. In PHP 5 it is built automatically, and can be configured to be installed automatically also. Although you can use the code given here in previous versions of PHP, you may encounter problems with versions prior to PHP 4.3.

 

Next chapter: Why use shell scripts? >>

Previous chapter: What else can be done with PHP?

Jump to:

 

Home: Table of Contents

Follow us on Identi.ca or Twitter

Username:   Password:
Create Account | About TuxRadar