Re: Flags package for PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Waynn Lue wrote:
> I'm running some command-line scripts that are taking more and more
> arguments, and I'm wondering whether anyone's used a good flags package for
> PHP?  Support for string/int/boolean arguments would be nice, otherwise I'll
> just hack together my own.
> 
> Thanks for any advice,
> Waynn
> 

I would maybe look into using a standard ini file and then use the
parse_ini_file [1] function to bring it all together again.

1 - http://us2.php.net/manual/en/function.parse-ini-file.php

-- 
Jim Lucas

   "Some men are born to greatness, some achieve greatness,
       and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
    by William Shakespeare


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux