You could do something like this:
$handle = qa_get_logged_in_handle(); $profile = qa_path_absolute('user') . '/' . urlencode($handle);