note 38526 added to features.commandline
| From: | php-general at lists dot php dot net | Date: | Fri, 26 Dec 2003 01:23:19 +0000 |
| Subject: | note 38526 added to features.commandline | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62462@lists.php.net to get a copy of this message | ||
I will not work if you attach a parameter string of web url to command-line argument.
ex) // Won't work;
php hello.php foo=1&bar=2
The command line will interpret "&" character as concurrent execution command. In
order pass a web parameter string, you should separate all parameters and pass them to the
command-line.
ex) // Works.
php hello.php -foo 1 -bar 2
__
kens (http://brainew.com)
----
Manual Page -- http://www.php.net/manual/en/features.commandline.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38526
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38526&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38526&report=yes
Search -- http://master.php.net/manage/user-notes.php