N-ai incercat:

Cod PHP:
$url = "http://twitter.com/".$username 
?

edit: mi-au luat-o inainte