Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 13

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 02.03.2005, 20:57   #1 (permalink)
Baby Mamber
 
Join Date: Mar 2005
Posts: 2
princo is on a distinguished road
Default Making remote login module

I need to make a module that will provide login form to my Socketmail system. I've think of wrapper but it's not the real thing, plus it's not the module so I can put it as a module on page, and I have problem when loging in since it opens in that same wrapper screen.

Bellow is the actual code I need to remotely login to my system. Can anyone help me with code that module should cointain to show this correctly?

[HTML]<form method=post action="http://solo.com/mail/" autocomplete=off name=a>
<input type=hidden name="did" value="2">
<input type=hidden name="redir" value="./home/dologin.php">

Login : <input maxLength="32" size="17" name="login_id">
<br>
Password : <input type="password" maxLength="32" size="17" value name="login_pwd">

<input type=submit>
</form>[/HTML]

I tried editing existing login (for mambo login) module but didn't have luck with it. I just simply don't know what code actually besides this I need in module to make this work.

Thanks
princo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 03.03.2005, 16:10   #2 (permalink)
Baby Mamber
 
Join Date: Mar 2005
Posts: 2
princo is on a distinguished road
Default Re: Making remote login module

Ok I got it

For anyone having the same problem this is what should module contain

Code:
 <?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.'
 );

$content ="";

$content.="<form method=post action=\"http://www.xxx.com/mail/home/dologin.php\" autocomplete=off name=a>\n";
$content.="<input type=hidden name=\"did\" value=\"1\">\n";
$content.="<input type=hidden name=\"redir\" value=\"/mail/home/dologin.php\">\n";
$content.="<input type=hidden name=\"langInfo\" value=\"2|en|windows-1250\">\n";
$content.="<span class=\"mainlevel\">Sign in</span><br>\n";
$content.="User: <input maxLength=\"32\" size=\"7\" name=\"login_id\">\n";
$content.="<br>Password: <input type=\"password\" maxLength=\"32\" size=\"7\" name=\"login_pwd\">\n";
$content.="<div align=\"center\"><input type=\"submit\" class=\"button\" value=\"Submit\"></div>\n";
$content.="</form>\n";

?>
princo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I enhance LOGIN module? xxxRxxx Mambo 4.5.1 'How Do I' Questions 3 03.02.2005 20:30
I give up! Events and login module CSS alignment question! bebbetufs Template Discussions 5 10.11.2004 14:51
Editing the Login Module cathalturi Mambo 4.5.1 'How Do I' Questions 2 13.10.2004 10:24
User Login module OffLead Mambo 4.5 'How Do I' Questions 2 27.09.2004 18:57
Login Module Missing msmrmyr Mambo 4.5 Installation and Upgrades 0 10.06.2004 08:21


All times are GMT +2. The time now is 08:28.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.