*hiya!* On Sat, 04 Feb 2006, Stanislas Rolland wrote the following: > + $matches = array(); > + if ($user && $pass && preg_match('/^(https?:\/\/)/', $url, $matches)) { > + $url = $matches[1].$user.':'.$pass.'@'.substr($url,strlen($matches[1])); +1 kind regards Wolfgang