PHP is a web scripting language. No matter how popular it gets, that's where it started and that's where it's used most of the time. However, there are times when you need to do non-web things. In the past, I've used PHP as a scripting language for writing the DOS equivalent of BATCH files or the Linux equivalent of shell scripts. I've found that most of what I need to do can be accomplished from within PHP There is even a project to allow you to build desktop applications via PHP, the PHP-GTK project.
Was this article helpful?