SourceForge

MySQL

We use and recommend
Mandriva Linux
Powerpack+

Textpattern

SlaphappyGeeks.com
Web DesignDatabase DesignArticles & HelpsProjectsSpecial PromosRates & TermsWeb HostsGeek JokesAbout UsPrivacy Policy

PHP Getargs Class

Quick summary of what this class provides:

  • Parsing of any command line arguments into a name=value array
  • Automatic checking of required, missing and unexpected arguments
  • Specification of Boolean or string valued arguments
  • Support for Unix-style mixed '-', '--' and ordered arguments
  • Loose assignment syntax: -xvalue, -x value, -x=value are equivalent
  • Loose boolean syntax: -x -y -z, -xyz are equivalent
  • Trivial configuration, a single string passed at runtime (optional)
  • Self documenting, instructions for use included in class file
  • Source includes test and validation programs

Our getargs class may be included in your command line PHP projects to provide this level of functionality instantly!

Non-geeks may think that this is overkill because command line arguments are available to any PHP CLI program anyway. But real geeks who have spent hours trying to get consistent operation from programs with multiple command line options and switches will appreciate the convenience and power this class provides!

We also provide a simple set of test programs which will allow you to explore the operation of the class, and to maintain it with any changes you make over time.

This class is completely FREE – as in FREEDOM! To get download instructions please just ask by submitting the form below!

Slide Rule

Need a quote or quick answer? Just ask!

Email address *

First name

Last name

Your request *

Verify code *

 Verify code 

 More info?

| Web Design | Database Design | Articles & Helps | Projects | Special Promos | Rates & Terms |
| Web Hosts | Geek Jokes | About Us | Privacy Policy |