Re: Can a Php-Gtk app accept command line arguments?
| From: | Jeremy Johnstone | Date: | Sat, 15 Jan 2005 11:57:53 +0000 |
| Subject: | Re: Can a Php-Gtk app accept command line arguments? | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5467@lists.php.net to get a copy of this message | ||
There is also a PEAR package which supposedly makes it ultra easy to
handle command line options. I have never used it and always brewed my
own solution, but you might want to check it out.
-Jeremy
On Fri, 14 Jan 2005 06:26:16 +0800, firepages.com.au
<fire@firepages.com.au> wrote:
> $_SERVER['argc'] & $_SERVER['argv'] (set php.ini register_argc_argv on
> ) ,
> or simply $argc & $argv depending on your php.ini configuration , hold the
> count of and values of any passed command line parameters.
>