News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPit.net:
PHP on the command line
March 13, 2006 @ 07:26:42

PHPit.net has posted another new tutorial, this time they look at the command-line, providing the basics to those that have only used PHP in the web-based world.

PHP is traditionally only used on the internet to power our websites, but it's also capable of doing more. Since version 4.3 PHP ships with a special version which can be used to execute scripts on the command line, and do certain system tasks. If you're a Linux user, you probably know what the command line is, but if you're a Windows user you might not.

They show the code/commands in the examples they give in the context of it running on a Windows machine, but it's not a far leap to work with it on a unix-based system as well. They start with the basics - how to get to it, how to use it - before moving on to other features, like taking in arguments. They wrap it up with a sample application, a calculator, that can do the four basic operations on the two numbers entered.

0 comments voice your opinion now!
command line tutorial introduction beginner command line tutorial introduction beginner


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Getting Started with FluentPDO

Kevin Schroeder's Blog: ZendCon 2010 Podcast - Introducing Zend Framework 2.0

J. Scott Johnson\'s Blog: Your PHP Command of the Day - debug_backtrace()

Stefan Mischook's Blog: New PHP article in Web Designer Magazine

NetTuts.com: Create your First Tiny MVC Boilerplate with PHP


Community Events





Don't see your event here?
Let us know!


podcast development language release laravel tips framework series conference deployment api list community introduction zendserver bugfix voicesoftheelephpant interview symfony code

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework