Prova così:

codice:
<?
echo '
<form method="post" action="privato.php?user='.$username.'">'; 
?>