View Single Post


Old
  Post #1 (permalink)   09-21-2004, 01:58 PM
PHPHost
HD Newbie
 
Join Date: Sep 2004
Posts: 37

Status: PHPHost is offline
Place in between <head></head> tags:

Code:
<script language="Javascript">
//please leave this credit in
//coded by XEWeb - www.xeweb.net
//please set the full URL below

function login() {

//Enter full URL of your site
var url = "http://www.yourdomain.com";

var port = document.login.port.value;
window.location.href = url+":"+port+"/login/";
}
</script>
Use this HTML form for login:
Code:
<form name="login" method="post" onSubmit="javascript:login()">
Username: <input type="text" name="user">
<br>Password: <input type="password" name="pass">
<br><select name="port"><option value="2082">cPanel</option><option value="2095">Webmail</option></select>
<br><input type="submit" value="Log In">
</form>
__________________
<<See rules for signature setup.>>