News Feed
Sections




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

Builder.com.au:
Control your scripts with command-line PHP
February 06, 2006 @ 07:10:50

Builder.com.au has this new article posted today with a good guide for working with the command-line version of PHP.

PHP is most often used in combination with a Web server, to dynamically generate Web site pages. However, this Web server interface isn't the only way to use PHP, because the PHP distribution also includes a command-line interface which can be used to run PHP programs at the command prompt, much like Perl or bash.

This document will introduce you to PHP's command-line interface (CLI), showing you how to interact with PHP programs at the command prompt.

They start off with basics, things like making it executable and creation of a simple program. They then move into taking in arguments on the command line and some of the options you can pass in too. Lastly, they demonstrate the interactive mode that the PHP CLI has to allow you to interpret PHP code on the fly...

0 comments voice your opinion now!
command-line control execute input options command-line control execute input options


blog comments powered by Disqus

Similar Posts

Mike Wallner's Blog: Round Up

Zend Developer Zone: Security Tips #10, #11, and #12

Greg Beaver's Blog: Synchronize live and development sites using the PEAR Installer

Mattias Geniar's Blog: Input Validation: Using filter_var() Over Regular Expressions

Ivo Jansch's Blog: Donít use addslashes for database escapes


Community Events





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


list unittest series conference framework voicesoftheelephpant threedevsandamaybe interview laravel composer api release podcast introduction opinion community version language symfony configure

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