invite friend + message reply
	
	
		Hi!
I've put this code in invite_friends.php
    if ($_GET['UID'] == $_SESSION['UID'])
    {
        set_message($lang['invite_self'], 'success');
        $redirect_url = VSHARE_URL . '/friends/';
        redirect($redirect_url);
    }
but it doesn't work and it still doesn't send the error message. Could i get a code which works?
in the msg.tpl when i click on the reply message i have this code
{$base_url}/compose.php?receiver={$msg_info.mail_sender}&subje  ct={$reply_subject} can i have a more clean code insted of this for example like this:
{$base_url}/compose/{$msg_info.mail_sender}/{$reply_subject}/
i want to get this code but i don't know how to write it. So please help me, thank you.