I have put this code

global $username;

/* This is a message that is displayed immediately after a user logs in. */
global $motd;
$motd = 'Welcome, $username !' ;

but it is not coming.

What is second step ?

Amin

>> I want to display welcome message on top. But I don't want to use any
>> plugin just I want to write a code in
>>
>> /* This is a message that is displayed immediately after a user logs in.
>> */
>> global $motd;
>> $motd = '' ;
>>
>> What code I have to write ?
>>
>> I want to display Welcome, [EMAIL PROTECTED]
>
> In your setup you should be able to use
>
> $motd = "Welcome, $username !";
>
> It is possible that you might need global $username; line, if your
> username is not displayed.
>
> --
> Tomas
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> --
> squirrelmail-users mailing list
> List Address: [EMAIL PROTECTED]
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



_____________________________________________________________ 
WebMail Powered by InfoPoint Mail 
Uganda's the best place for Email & Domain Registration 
Web Hosting & Web Design 
Logon for more information http://www.infopint.co.ug 
Don't delay, GET YOURS NOW 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to