Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 05-15-2004, 08:24 PM   #1 (permalink)
Super Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Georgia
Posts: 2,308
iTrader: 1 / 100%
Latest Blog:
None

South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
Sign in script

I want to be able to add an email sign in form (user & pass) that will sign the user into his/her squirrelmail account without going through cpanel's //Neomail . Horde . Squirrel// page. It would just sign them into the proper account reading from Squirrel.

Anyone know how I would do that?
__________________
Angry Mob Member
South is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 08:31 PM   #2 (permalink)
Senior Member
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 1,187
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
ah.... good question. I know i saw a script out there one time that allowed you to sign into squirrel mail accounts from the website. let me see if i can dig that up
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 08:33 PM   #3 (permalink)
Senior Member
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 1,187
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
ah, found it:
http://www.squirrelmail.org/wiki/en_...irrelMailLogin
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 08:39 PM   #4 (permalink)
Super Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Georgia
Posts: 2,308
iTrader: 1 / 100%
Latest Blog:
None

South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
Thanks. I'll give that a try.
__________________
Angry Mob Member
South is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 08:40 PM   #5 (permalink)
Senior Member
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 1,187
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
i used it with one of my old sites. Just had it come up when i was logged in as admin, worked fine.
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 08:48 PM   #6 (permalink)
Super Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Georgia
Posts: 2,308
iTrader: 1 / 100%
Latest Blog:
None

South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
Problem. When attempting to log into user accounts it forces you to go through HTTP Authentication to get to the area of the server that houses Squirrelmail.
__________________
Angry Mob Member
South is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 08:56 PM   #7 (permalink)
Senior Member
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 1,187
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
k, here we go, you need to change that a bit if you are on our servers, here is what I have and it works fine:
[code:1:5971d8b06c]
<script language="JavaScript" type="text/javascript">
<!--
function squirrelmail_loginpage_onload() {
document.forms[0].js_autodetect_results.value = '1';
}
// -->
</script>
</head>

<form method="post" action="http://www.gh83.com:2095/3rdparty/squirrelmail/src/redirect.php">

<input type="hidden" name="js_autodetect_results" value="0">

User: <input type="text" name="login_username" size="10">

Password: <input type="password" name="secretkey" size="10">

<input type="submit" value="Login">

</form>
[/code:1:5971d8b06c]

note that instead of the /mail/src/ it is :2095/3rdparty/squirrelmail/src
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 08:56 PM   #8 (permalink)
Senior Member
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 1,187
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
here it is working on my site:
http://www.gh83.com/other/mail.html

also remember your login is the full e-mail address instead of just the user name
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:07 PM   #9 (permalink)
Super Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Georgia
Posts: 2,308
iTrader: 1 / 100%
Latest Blog:
None

South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
It's giving me the same pop-up requiring authentication

http://www.plantationhosting.com/squirreltest.html


I used a bogus user and pass and got the same pop up trying yours
__________________
Angry Mob Member
South is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:11 PM   #10 (permalink)
Senior Member
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 1,187
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
try logging into mine using this:
user name: southnow@gh83.com
password: south

works fine here.
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:12 PM   #11 (permalink)
Super Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Georgia
Posts: 2,308
iTrader: 1 / 100%
Latest Blog:
None

South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
Once I give it what it wants, the main main account user and password, it allows me to log in and out as I please. Once the session ends I have to provide it again.
__________________
Angry Mob Member
South is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:13 PM   #12 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 2,504
iTrader: 0 / 0%
kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
ud need to have cookies to make it remember
__________________
http://www.kylevarga.com - My blog.
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:16 PM   #13 (permalink)
Senior Member
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 1,187
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
the account i set up there real quick is not the main account and it lets me send mail or do whatever with out having to relogin. works fine for me.

Are you on V7 servers?
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:17 PM   #14 (permalink)
Super Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Georgia
Posts: 2,308
iTrader: 1 / 100%
Latest Blog:
None

South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
Just to test, would you mind trying to log into mine. You've never been logged into the root account so there's no way it'll recognize you, so it may give you what I'm getting. I created the account

squirrel@plantationhosting.com

squirrel


http://www.plantationhosting.com/squirreltest.html
__________________
Angry Mob Member
South is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:18 PM   #15 (permalink)
Super Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Georgia
Posts: 2,308
iTrader: 1 / 100%
Latest Blog:
None

South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
No, I'm not on V7 servers. I use Vortech, but I'm guessing the setup is pretty much the same?
__________________
Angry Mob Member
South is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:23 PM   #16 (permalink)
Senior Member
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 1,187
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
hmm. that is strange.

Was it letting you login to mine at all? or was it doing that same thing?

i've loged out of my cpanel and cleared the cache on my browser, even tried other browsers. it works fine every time for me.
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:24 PM   #17 (permalink)
Senior Member
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 1,187
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
got an idea. login to squirell mail just the oldfashion way and copy the address of the page you are on for me.
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:26 PM   #18 (permalink)
Super Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Georgia
Posts: 2,308
iTrader: 1 / 100%
Latest Blog:
None

South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
http://www.plantationhosting.com:209...rc/webmail.php

Yours was doing the same thing.
__________________
Angry Mob Member
South is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:45 PM   #19 (permalink)
Senior Member
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 1,187
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
ok, see if this works for horde login for you. Just change where it is listed as my domain to yours as i just copied directly. Test it at www.gh83.com/other/horde.html using the same login and password
[code:1:3ce2922f51]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script language="JavaScript" type="text/javascript">
<!--

function setFocus()
{
document.implogin.imapuser.focus();
}

function submit_login()
{
if (document.implogin.imapuser.value == "") {
alert('Please provide your username and password');
document.implogin.imapuser.focus();
return false;
} else if (document.implogin.pass.value == "") {
alert('Please provide your username and password');
document.implogin.pass.focus();
return false;
} else {
return true;
}
}
//-->
</script>

<script language="JavaScript1.2" type="text/javascript">
<!--
function enter_key_trap(e)
{
var keyPressed;

if (document.layers) {
keyPressed = String.fromCharCode(e.which);
} else if (document.all) {
keyPressed = String.fromCharCode(window.event.keyCode);
} else if (document.getElementById) {
keyPressed = String.fromCharCode(e.keyCode);
}

if ((keyPressed == "\r" || keyPressed == "\n") &amp;amp;amp;amp;&amp;amp;amp;amp; (submit_login())) {
document.implogin.submit();
}
}
//-->
</script>

<form action="http://www.gh83.com:2095/horde/imp/redirect.php" method="post" name="implogin">
<input type="hidden" name="actionID" value="105" />
<input type="hidden" name="url" value="http://www.gh83.com:2095/horde/login.php" />
<input type="hidden" name="mailbox" value="INBOX" />

<table align="center" border="0" width="300">
<tr><td align="center" colspan="2" class="header">
Welcome to Horde</td></tr>
<tr>
<td align="right" class="light"><b>Username</b></td>
<td align="left"><input type="text" tabindex="1" name="imapuser" value="" /></td>

</tr>
<tr>
<td align="right" class="light"><b>Password</b></td>
<td align="left"><input type="password" tabindex="2" name="pass" value=""/></td>
</tr>

<tr>
<td>
<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="gh83.com" />
<input type="hidden" name="protocol" value="imap/notls" />
<input type="hidden" name="realm" value="" />
</td>

<td><input type="hidden" name="folders" value="" /></td>
</tr>

<tr>
<td align="right" class="light"><b>Language</b></td>

<td align="left" class="light"><select name="new_lang" onchange="selectLang()"><option value="bg_BG">Bulgarian</option><option value="ca_ES">Catal&agrave;</option><option value="zh_CN">Chinese (Simplified)</option><option value="zh_TW">Chinese (Traditional)</option><option value="cs_CZ">Czech</option><option value="da_DK">Dansk</option><option value="de_DE">Deutsch</option><option value="en_GB">English (GB)</option><option value="en_US" selected="selected">English (US)</option><option value="es_ES">Espa&ntilde;ol</option><option value="et_EE">Eesti</option><option value="fr_FR">Fran&ccedil;ais</option><option value="el_GR">Greek</option><option value="it_IT">Italiano</option><option value="ja_JP">Japanese</option><option value="ko_KR">Korean</option><option value="lv_LV">Latvie&scaron;u</option><option value="lt_LT">Lietuviuk</option><option value="hu_HU">Magyar</option><option value="nl_NL">Nederlands</option><option value="nb_NO">Norsk bokm&aring;l</option><option value="nn_NO">Norsk nynorsk</option><option value="pl_PL">Polski</option><option value="pt_PT">Portugu&ecirc;s</option><option value="pt_BR">Portugu&ecirc;s Brasileiro</option><option value="ro_RO">Romana</option><option value="ru_RU">Russian (Windows)</option><option value="ru_RU.KOI8-R">Russian (KOI8-R)</option><option value="sk_SK">Slovak</option><option value="sl_SI">Slovenscina</option><option value="fi_FI">Suomi</option><option value="sv_SE">Svenska</option><option value="uk_UA">Ukranian</option></select></td>

</tr>

<tr>
<td>&nbsp;</td>
<td align="left" class="light"><input type="submit" class="button" name="button" tabindex="4" value="Log in" onclick="return submit_login();" /></td>
</tr>

</table>
</form>

<script language="JavaScript" type="text/javascript">
<!--

function updatePort()
{
}

function selectLang()
{
// We need to reload the login page here, but only if the user hasn't
// already entered a username and password.
if (document.implogin.imapuser.value == '' &amp;amp;amp;amp;&amp;amp;amp;amp;
document.implogin.pass.value == '') {
var lang_page = 'login.php?new_lang=' + document.implogin.new_lang[document.implogin.new_l ang.selectedIndex].value;
lang_page += '&amp;amp;amp;amp;url=http%3A%2F%2Fwww.gh83.com%3A 2095%2Fhorde%2Flogin.php';
self.location = lang_page;
}
}

//-->
</script>

<script language="JavaScript1.2" type="text/javascript">
<!--
// Setup the enter keytrap code
if (window.document.captureEvents != null) {
window.document.captureEvents(Event.KEYPRESS);
window.document.onkeypress = enter_key_trap;
}
//-->
</script>

<!-- This file contains any "Message Of The Day" Type information -->
<!-- It will be included below the log-in form on the login page. -->

<script language="JavaScript" type="text/javascript">
<!--
if (parent.frames.horde_main) parent.document.title = 'Mail :: Welcome to Horde';
//-->
</script>
</body>
</html>






[/code:1:3ce2922f51]
greg is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-15-2004, 09:46 PM   #20 (permalink)
Senior Member
 
greg's Avatar
 
Join Date: 10-13-03
Location: Little Rock
Posts: 1,187
iTrader: 0 / 0%
Latest Blog:
None

greg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to allgreg is a name known to all
Send a message via MSN to greg
looks like it works here, you just have to login twice.
greg is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Sign-In Script need to add to html website patoh777 Coding Forum 4 06-12-2009 04:06 PM
What's your sign? Julie Forum Lobby 120 04-30-2007 12:44 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 03:26 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.