Re: Intro to PHP question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/8/07 12:59 PM, Dave Goodchild wrote:
If you really want to run that on the command line, you will need the path
to php on the first line of the file.

Or, he can run it through the PHP CLI with:
$> php uri.php

Please, forget the command line stuff unless you want to write command line
scripts, and get that file running in a web environment where it belongs.
happy to help if you need any more assistance doing that!

What's so wrong with learning PHP from the command line? If he's comfortable with the command line, then he should be able to learn PHP from the command line. Why else does PHP have a CLI?

--
Ben Ramsey
http://benramsey.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux