Assigning a page title to forms created with the form API FAPI
if your page url http://site.com/my_page 

you can use 

function hook_page_alter(&amp;$page)
{

    if(arg(0)=="my_page")
    {
                 drupal_set_title("Ahmed");
    }
}