Echo Username / Email


When a user is logged in I need to echo his username / email on a certain template page.

Actually what I need to do is include a file on a template page on a per user basis:

{include_php file=/path/to/file/$username.php"}

Any help would be greatly appreciated.



would each user have there own dedicated template? like or would each template be completely different per user?

This will go in an existing template.

I will manually create the include for each user.