Linking to another website procedurally
If you're creating links, use l().

$url = 'http://example.com/content/' . $current_node['name'];
$output = l($current_node['name'], $url, array('external' =&gt; TRUE));