Re: Re: Passing args to a PHP script from the command line
| From: | Aaron Wormus | Date: | Thu, 10 Jun 2004 15:49:04 +0000 |
| Subject: | Re: Re: Passing args to a PHP script from the command line | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188058@lists.php.net to get a copy of this message | ||
Ben Ramsey wrote:
Did I say the wrong package? Oops.GetOpts does the job, but GetArgs is brand spanking new and much more configurable. However, unless you already use other PEAR packages I would think twice about loading the big Pear codebase just to parse a few commandline options. -- Aaron Wormus ---------------------- Pears and Pickles Served fresh every day at http://php.eckspee.com ----------------------