Re: Intro to PHP question

From: Date: Thu, 08 Mar 2007 18:41:48 +0000
Subject: Re: Intro to PHP question
References: 1 2 3 4 5 6 7 8 9  Groups: php.general php.general 
Request: Send a blank email to php-general+get-250107@lists.php.net to get a copy of this message
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/

« previous php.general (#250107) next »