Hello Amin,
On Sunday, January 18, 2004, Amin Thakkar wrote...

> 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 ?

You need to change the ' to ", so it reads:

  $motd = "Welcome, $username!";

But you might have issues either way, we probably don't know the
username at that point, so trying to display it would be impossible.
The username is stored in the session, the session is loaded after the
config file is loaded as there is session related information in
there.

-- 
Jonathan Angliss
([EMAIL PROTECTED])



-------------------------------------------------------
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