note 26201 added to features.commandline
| From: | phpnotes at ssilk dot de | Date: | Tue, 22 Oct 2002 08:36:39 +0000 |
| Subject: | note 26201 added to features.commandline | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38405@lists.php.net to get a copy of this message | ||
To hand over the GET-variables in interactive mode like in HTTP-Mode (e.g. your URI is
myprog.html?hugo=bla&bla=hugo), you have to call
php myprog.html '&hugo=bla&bla=hugo'
(two & instead of ? and &!)
There just a little difference in the $ARGC, $ARGV values, but I think this is in those cases not
relevant.
--
http://www.php.net/manual/en/features.commandline.php
http://master.php.net/manage/user-notes.php?action=edit+26201
http://master.php.net/manage/user-notes.php?action=delete+26201
http://master.php.net/manage/user-notes.php?action=reject+26201