Re: suggested syntax for channels
| From: | Greg Beaver | Date: | Mon, 20 Sep 2004 02:29:02 +0000 |
| Subject: | Re: suggested syntax for channels | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33463@lists.php.net to get a copy of this message | ||
Paul M Jones wrote:
Hi, Greg,Ah but explode('/', $parsed['path']) will not choke, grasshopper. it actually makes parsing slightly simpler, I did consider the alternative. I forgot to mention I already have to parse out version/state from stuff like channel://pear.php.net/DB-1.6.0 channel://pear.php.net/DB-alpha Greg$ pear install channel://user:pass@pear.php.net/Foo syntax becomes possible and parse_url is at our disposalI see you are working towards your trademark certification on "Good Things."(tm)This also means that future options can be added as extra path arguments $ pear install channel://pear.chiaraquartet.net/Foo/group=BarWould that not be "Foo/?group=Bar" -- since it's URL and all. Won't parse_url choke on Apache-like "path_info" stuff here?