note 29240 added to features.commandline
| From: | c dot kelly at rack1 dot php dot net | Date: | Fri, 07 Feb 2003 02:03:07 +0000 |
| Subject: | note 29240 added to features.commandline | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43540@lists.php.net to get a copy of this message | ||
In Windows [NT4.0 sp6a] the example
php -r ' echo getcwd();' does not work ; It appears you have to use the following php -r
"echo getcwd();" --not the " around the command to get the output to screen , just
took me half an hour to figure out what was going on.
--
http://www.php.net/manual/en/features.commandline.php
http://master.php.net/manage/user-notes.php?action=edit+29240
http://master.php.net/manage/user-notes.php?action=delete+29240
http://master.php.net/manage/user-notes.php?action=reject+29240