hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Making my mail login box work
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Making my mail login box work

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-09-2002, 06:27 PM
jamesaspey jamesaspey is offline
Temporarily Suspended
 
Join Date: Jul 2002
Posts: 225

Making my mail login box work


Basically i want to make the login box located at the bottom left of www.ukhs.com - work with webmail.ukhs.com so when you enter username and pass it auto logs you in, any ideas?

Reply With Quote


Sponsored Links
  #2  
Old 09-09-2002, 10:30 PM
apokalyptik apokalyptik is offline
Newbie
 
Join Date: Aug 2002
Posts: 19
sometimes the simplest solutions are the hardest to see...

in your HTML header:
Code:
<script LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
  function squirrelmail_loginpage_onload() {
    document.forms[0].js_autodetect_results.value = '1';
    document.forms[0].elements[0].focus();
  }
// -->
</script>
HTML form:
Code:
<form ACTION="http://webmail.ukhs.com/src/redirect.php" METHOD="POST">
Username: <input TYPE=TEXT NAME="login_username" VALUE="">
<br>
Password: <input TYPE=PASSWORD NAME="secretkey">
<br>
<input TYPE=HIDDEN NAME="js_autodetect_results" VALUE="0">
<input TYPE=HIDDEN NAME="just_logged_in" value=1>
<input TYPE=SUBMIT VALUE="Login">
</form>

__________________
irc.apokalyptik.com http://www.apokalyptik.com http://www.apokalyptik.com/forum/

Reply With Quote
  #3  
Old 09-11-2002, 05:36 AM
jamesaspey jamesaspey is offline
Temporarily Suspended
 
Join Date: Jul 2002
Posts: 225
Thankyou - that script works perfectly and used in the site

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Hosting Control Panel cPanel and WHM Version 11.32 Adds Features, Fixes Web Hosting News 2012-04-08 11:51:35
Selling Your Hosting Company - #6 - Turning Over the Keys Blog 2012-03-13 10:00:32
cPanel Launches Version 11.32 of Control Panel and Web Host Manager Web Hosting News 2012-02-15 12:46:33
StartSSL Suspends Certificate Services Following Security Breach Web Hosting News 2011-06-22 14:48:10
Comodo Reseller Comodo Brazil Hit with SQL-Injected Attack Web Hosting News 2011-05-25 14:51:29


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?