Re: New classes
| From: | Rasmus Lerdorf | Date: | Fri, 01 Feb 2002 23:30:33 +0000 |
| Subject: | Re: New classes | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4341@lists.php.net to get a copy of this message | ||
> Having spent the week mostly coding in preference to watching terrestrial TV
> in a hotel, I've come up with some new code that may be interesting.
>
> *** All should be considered "work in progress" ***
>
> HTTP_URL (http://phpguru.org/pear/HTTP_URL.phps)
>
> This class is intended to handle urls. Give it a url in the constructor and
> it will split it up into it's constituent parts for easy access. Stig
> mentioned on irc that it might be better named as URL, and also advised
> looking up this java class which looks interesting:
>
> http://hpdrc.cs.fiu.edu/sdbtools/VisualCafe/Documentation/Java/java.net.URL.
> html
How is this different from the built-in parse_url() function?
-Rasmus