Inroduction to Writing PHP Command-Line (CLI) Scripts

Added by on July 9th, 2010, filed under PHP, Web Development

In this tutorial, I will show you how to get started with writing command-line interface (CLI) scripts using PHP. Here are a few reasons why you might want to write a CLI application in PHP:

  • You want to write a tool for admin-ing your server, but you’re more comfortable using PHP
  • You don’t need to output any content to a public-facing web page

Continue reading “Inroduction to Writing PHP Command-Line (CLI) Scripts”