Daniel Watts wrote:
Paul Lesneiwski wrote:



Daniel Watts wrote:

SQM: 1.4.4
Internet Explorer (something recent)

Username: [EMAIL PROTECTED]
Login Page: www.logindomain.com
Login form is posted from http://www.logindomain.com/index.php with post action: http://www.herdomain.com/webmail/src/redirect.php

I must declare a modification to redirect.php:

    sqimap_logout($imapConnection);
    sqsession_register($delimiter, 'delimiter');
    $username = $login_username;
+   list($blank,$domain) = explode("@",$username);

This lets the user continue with their @herdomain.com address within squirrelmail running under http://www.logindomain.com/webmail/src/webmail.php



uh? maybe you should explain what you are trying to "fix" here (as well as what you are doing with the different domains and how they are related)


This is just so that people can log in using a username of "[EMAIL PROTECTED]" and log in from "www.domain2.com". The $domain variable is set to the user's domain rather than the actual domain of the website they're logging in through.

Use vlogin with $usernameDomainIsHost and then you don't need to hack the source.

 - paul



--

Open Guild, LLC
http://openguild.net/
Software.Systems.Solutions


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
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