Ilia posted two tweaks of cURL and parse_url() available with PHP 5.1.0b3. The first patch allow to add a second parameter to parse_url() so you can specify to return a parameter rather than an array. $host = parse_url("http://www.ilia.ws/gallery/", PHP_URL_HOST); echo...

PHP5 Magazine's RSS
