View Full Version : login script for webmail help
mpower
10-13-2004, 11:06 PM
Hello,
I have successfully made a script for siteworx
to provide login without having to go to siteworx
itself. I'm so stumped on the webmail- chris/paul help?
This is what i have so far:
<form action="https://www.goldendayspa.com:2443/horde/login.php" method="post">
Email: <input type="text" name="email">
<br>
Password: <input type="password" name="password">
<br>
<input type="submit" name="submit" value="Login">
</form>
Thank You
IWorx-Chris
10-15-2004, 05:38 AM
mpower,
You can also just append "/webmail" to any domain hosted on the box, i.e.:
http://www.goldendayspa.com/webmail
will redirect you to the webmail login page.
Chris
mpower
10-15-2004, 09:20 AM
I made the changes and tried it and it doesn't work. Any ideas? Please help!
<form action="http://www.goldendayspa.com/webmail" method="post">
Email: <input type="text" name="email">
<br>
Password: <input type="password" name="password">
<br>
<input type="submit" name="submit" value="Login">
</form>
IWorx-Bojan
10-15-2004, 03:52 PM
mpower,
We are not sure what exactly you are trying to do. If you can explain, we may be able to assist you better. The webmail login is otherwise at:
http://your-domain.com/webmail
Above, replace your-domain.com with your domain name, and you should be able to see the login screen to login into your e-mail account without having to login into SiteWorx.
Let us know if you have any questions.
mpower
10-15-2004, 04:31 PM
Bojan- I dont think you are reading my posts correctly but maybe there is a possibility that the error is mine. I know where/and how to log onto siteworx
and I stated earlier that i have made a script to logon to siteworx without having to go to www.yourdomain.com/siteworx----do you understand me from here? If you do, please read on.....
Now i'm trying to mimic the same by making a logon script for webmail ie found www.yourdomain.com/webmail else where on another page. Understood from here??? I'm having trouble getting it to work- thats all i'm asking. If you could look at the script and tell me what i'm doing wrong... I would appreciate it. I'll include two links, one for siteworx that works and one for email which doesn't work:
http://www.goldendayspa.com/siteworx.htm
http://www.goldendayspa.com/mail.htm
Any solutions why mail.htm wont work?
Looking at the Horde form, you need all of this in yours:
Form action and name:
<form action="/horde/imp/redirect.php" method="post" name="implogin">
Plenty of values needed, only 2 of which you have:
<input type="hidden" name="actionID" value="105" />
<input type="hidden" name="url" value="https://goldendayspa.com:2443/horde/login.php" />
<input type="hidden" name="mailbox" value="INBOX" />
<input type="text" tabindex="1" name="imapuser" value="" />
<input type="password" tabindex="2" name="pass" />
<input type="hidden" name="server" value="localhost" />
<input type="hidden" name="port" value="143" />
<input type="hidden" name="namespace" value="" />
<input type="hidden" name="maildomain" value="" />
<input type="hidden" name="protocol" value="imap/notls" />
<input type="hidden" name="realm" value="" />
<input type="hidden" name="folders" value="INBOX." />
<input type="submit" class="button" name="button" tabindex="4" value="Log in"/>
mpower
10-15-2004, 06:32 PM
So is there a way around this? A how-to please???:)
IWorx-Bojan
10-15-2004, 06:58 PM
mpower,
I was not sure what you were trying to do initially. The problem is that you are not posting all of the necessary parameters to Horde to be able to login using your form. As suggested by CMI, try to include those variables in your form and then give it a try. Not sure what you mean "a way around this" or why would you do that.
timryberg
10-18-2004, 11:21 PM
I think he's trying to make it so users can log into both (sw and horde) directly from his website without having to go through your login pages at all so they all appear integrated and he can make them look like his site.
Tim
The pages can look like anything or be anywhere, so long as all of the necessary parameters are passed. That's all that matters.
lineman
10-19-2004, 05:36 AM
So why not just take the originals and edit them?
mpower
10-19-2004, 07:12 AM
Yeah did it already but didn't work...
lineman
10-19-2004, 02:28 PM
Yeah did it already but didn't work...
Did you edit the paths so that they point to the correct scripts?
mpower
10-20-2004, 12:43 PM
yeah i did but to no avail
qwidjib0
02-09-2006, 04:59 PM
Hi, this is a bump of an older thread, but I believe I have what you're look for as well as SiteWorx login forms working fine on the main page of FreeWebsiteHost.net (http://www.freewebsitehost.net). Feel free to view source and use them for yourself; it's all HTML and javascript - and note that I seperated the meat of the Horde stuff into a file called hordescripts.js.
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.