note 1164 modified in parse_url by zak
| From: | zak@php.net | Date: | Wed, 13 Dec 2000 03:36:23 +0000 |
| Subject: | note 1164 modified in parse_url by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8666@lists.php.net to get a copy of this message | ||
[Editor's Note: mailto:... is not a valid URI - therefore, this
function does not parse it properly.]
At least for PHP 3.0.6 (WinNT), parse_url() does not deal with mailto:
URLs well. For example, $a = parse_url('mailto:abc@xyz.com') resulted in a 2-element array, both of
which were empty.
http://www.php.net/manual/function.parse-url.php