note 24714 deleted from function.preg-match by sniper
| From: | sniper@php.net | Date: | Tue, 30 Sep 2003 12:13:22 +0000 |
| Subject: | note 24714 deleted from function.preg-match by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57393@lists.php.net to get a copy of this message | ||
Note Submitter: carl@strategyforwardno.spam.com
----
While parse_url() simple and useful, it is not generally helpful for most user-entered URLs, like
"foo.com", or even "foo.com/hello.html", as it will place these entire strings
in the "path". It seems that unlike the regexps given here, the "scheme" is
mandatory...