Re: arguments from command line
| From: | Andrei Zmievski | Date: | Thu, 10 May 2001 19:15:52 +0000 |
| Subject: | Re: arguments from command line | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1787@lists.php.net to get a copy of this message | ||
On Thu, 10 May 2001, Adam Rambousek wrote:
> is it possible to use arguments passed from command line in phpgtk apps?
Why not? They should simply be available in $HTTP_SERVER_VARS array as
'argc' and 'argv'. Or you can use PEAR's Console/Getopt class to parse
them.
-Andrei
* If it's never finished, you can't prove it doesn't work. *