System administration with PHP
As many of you would surely attest, once you start developing with PHP it's pretty difficult to consider another language for your daily Web development activities. This isn't surprising, given PHP's relatively shallow learning curve, the literally thousands of readily available predefined functions, and the seemingly endliness array of projects and user groups sprouting up all over the globe.
Wouldn't it be great if you could extend your use of the language to carry out general system administration tasks? You might be surprised to learn that you can! In this article, I'll show you how to create PHP scripts that can execute from the command-line. Once I've introduced a few basic concepts, I'll demonstrate how to write PHP scripts that can carry out useful administration tasks.
By W. Jason Gilmore at Developer.com
[ Read more ]