473,748 Members | 2,690 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Rediffmail login script in html

1 New Member
Hi, I hv created following script for rediffmail login, i've saved login name and password and has saved it with .html extension so that when i click on the file it wud directly take me to inbox screen, everything works fine, but it does not submit after displaying username and passwd. It shd directly submit after i run .html file, which is not happening, (put ur username wherey i hv mention in capital letters: HERE I HAVE FED MY USERNAME and password at HERE I FED PASSWORD) pls help:

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>Rediffmail</title>
  4. <style type="text/css"><!--
  5. .sb0{font-family:verdana;font-size:10px;text-decoration:none}
  6. .sb1{font-family:arial;font-size:11px;text-decoration:none}
  7. .sb2{font-family:arial;font-size:12px;text-decoration:none}
  8. .sb3{font-family:arial;font-size:13px;text-decoration:none}
  9. .sb4{font-family:arial;font-size:18px;text-decoration:none}
  10.  
  11. .cntbttn {background: #B7E9FF;border-bottom: 2px solid #0A3E55;border-right: 2px solid #104A7B;border-left: 1px solid #FFFFFF;border-top:1px solid 
  12.  
  13. #FFFFFF;color:#000000;height:20px;width=40px;font-family:arial;font-size:11px;font-weight: bold;text-decoration:none;cursor: hand}
  14. //-->
  15. </style>
  16.  
  17. <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
  18. function PasswdRemindWin()
  19. {
  20. window.open("http://login.rediff.com/cgi-bin/passwd_remind.cgi?
  21.  
  22. FormName=showlogin","win1","toolbar=no,directories=no,resize=yes,menubar=no,location=no,scrollbars=yes,width=490,height=480,maximize=null,top=70,left=80");
  23. }
  24. function checkLogin()
  25. {
  26.     var usr = document.loginform.login.value;
  27.     if(usr == "")
  28.     {
  29.         alert("Please enter a valid User Name");
  30.         return false;
  31.     }
  32.     var seclogin = document.loginform.seclogin;
  33.     if(seclogin.checked == true)
  34.     {
  35.         document.loginform.action = "https://mail.rediff.com/cgi-bin/login.cgi";
  36.     }
  37.     else
  38.     {
  39.         document.loginform.action = "http://mail.rediff.com/cgi-bin/login.cgi";
  40.     }
  41.     return true;
  42. }
  43. </SCRIPT>
  44.  
  45. </head>
  46. <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0066FF" ALINK="#0066FF" VLINK="#0066FF" leftmargin="0" marginwidth="0" marginheight="0" topmargin="10">
  47. <FORM NAME="loginform" ACTION="http://mail.rediff.com/cgi-bin/login.cgi" METHOD=post target=_top onSubmit="return checkLogin()">
  48. <input type="hidden" name="FormName" value="existing"> 
  49. <TABLE WIDTH="686" CELLSPACING="0" CELLPADDING="0" BORDER="0" align=center>
  50. <TR>
  51. <TD WIDTH="200" VALIGN="bottom">
  52. &nbsp;&nbsp;<IMG SRC=/i/rediff_logo.gif HSPACE="5" VSPACE="0" BORDER="0"><BR>
  53. </TD>
  54. <TD width="486" align="right" class=sb2><BR>
  55. <a href="http://www.rediff.com/">Home</a>&nbsp;&nbsp;
  56. <TABLE cellspacing="0" cellpadding="0" border="0"><TR><TD height="3"></TD></TR></TABLE>
  57. </TD>
  58. </TR>
  59.  
  60. <TR bgcolor=#B7E9FF>
  61.     <TD colspan=2 class=sb4 height=42>
  62.     &nbsp;&nbsp;&nbsp;Register for Rediffmail
  63.     </TD>
  64. </TR>
  65. </TABLE>
  66.  
  67. <TABLE border=0 align=center>
  68. <TR>
  69. <TD align=center><BR><font size=2 color=#FF0000 face=verdana><b></b></font></TD>
  70. </TR>
  71. </TABLE>
  72.  
  73. <TABLE cellspacing="0" cellpadding="0" border="0"><TR><TD height="21"></TD></TR></TABLE>
  74. <TABLE WIDTH="686" CELLSPACING="0" CELLPADDING="0" BORDER="0" align=center>
  75. <TR>
  76.     <TD width=368 valign=top>
  77.     <TABLE WIDTH=368 CELLSPACING=0 CELLPADDING=2 BORDER=0 align=center bgcolor=#ECF9FF>
  78.     <TR>
  79.     <TD>
  80.     <TABLE WIDTH=364 CELLSPACING=0 CELLPADDING=0 BORDER=0 align=center bgcolor=#FFFFFF>
  81.     <TR bgcolor=#ECF9FF>
  82.         <TD width=16 height=40>
  83.         <TABLE cellspacing=0 cellpadding=0 border=0><TR><TD width=16></TD></TR></TABLE>
  84.         </TD>
  85.         <TD>
  86.         <font class=sb3>
  87.         <B>Existing Rediffmail user? Sign in here</B>
  88.         </font>
  89.         </TD>
  90.     </TR>
  91.     <TR>
  92.         <TD>
  93.         <TABLE cellspacing=0 cellpadding=0 border=0><TR><TD width=16></TD></TR></TABLE>
  94.         </TD>
  95.         <TD class=sb0>
  96.         <TABLE cellspacing=0 cellpadding=0 border=0><TR><TD height=20></TD></TR></TABLE>
  97.  
  98.  
  99.         <TABLE WIDTH=352 CELLSPACING=0 CELLPADDING=0 BORDER=0 align=center>
  100.         <TR>
  101.             <TD width=84 align=right class=sb2 height=30>
  102.             User Name:&nbsp;
  103.             </TD>
  104.             <TD width=268>
  105.             <input type=text name=login value="HERE I FED MY USERNAME" size=18> <font class=sb3><B>@ rediffmail.com</B></font>
  106.             </TD>
  107.         </TR>
  108.         <TR>
  109.             <TD align=right class=sb2 height=30>
  110.             Password:&nbsp;
  111.             </TD>
  112.             <TD>
  113.             <input type=password name=passwd value="HERE I FED PASSWORD" size=18>
  114.             </TD>
  115.         </TR>
  116.         <TR>
  117.                         <TD align=right class=sb2 height=30>
  118.             &nbsp;
  119.                         </TD>
  120.                         <TD class=sb2 align=left>
  121.             <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
  122.             if(document.location.protocol == "https:")
  123.             {
  124.                             document.write("<input type=checkbox name=seclogin checked=true> Secure Login");
  125.             }
  126.             else
  127.             {
  128.                 document.write("<input type=checkbox name=seclogin checked=true> Secure Login");
  129.             }
  130.             </SCRIPT>
  131.                         </TD>
  132.                 </TR>
  133.         <TR>
  134.             <TD align=right class=sb2>
  135.             &nbsp;
  136.             </TD>
  137.             <TD class=sb0>
  138.             <a href="javascript:PasswdRemindWin()">Forgot Password?</a><BR><BR>
  139.             <input type=submit name=proceed value="GO" class=cntbttn><BR><BR><BR>
  140.             </TD>
  141.         </TR>
  142.         </TABLE>
  143.         </TD>
  144.     </TR>
  145.     </TABLE>
  146.     </TD>
  147.     </TR>
  148.     </TABLE>
  149.     </TD>
  150.     <TD width=318 valign=top bgcolor=#EEEEEE>
  151.     <table width=318 border=0 cellpadding=0 cellspacing=0>
  152.     <tr>
  153.         <td width=50 height=40 rowspan=2>
  154.         <TABLE cellspacing=0 cellpadding=0 border=0><TR><TD width=50></TD></TR></TABLE>
  155.         </td>
  156.         <td width=288 class=sb3 height=40>
  157.         <B>Not a Rediffmail user?</B>
  158.         </td>
  159.     </tr>
  160.     <tr>
  161.         <td><BR>
  162.         <font class=sb4><a href="http://login.rediff.com/bn/register.cgi?FormName=user_details">Click here to sign up</a></font><BR><BR>
  163.         <font class=sb0>
  164.         Get the fast, easy to use email.<BR>It's absolutely free!<BR>All you'll have to do is fill up a form<BR>to choose username, password and<BR>other 
  165.  
  166. details.
  167.         </font>
  168.         </td>
  169.     </tr>
  170.     </table>
  171.     </TD>
  172. </TR>
  173. </TABLE><BR><BR><BR>
  174. <table width=686 border=0 cellpadding=0 cellspacing=0 align=center>
  175. <tr>
  176.     <td width=686 height=3 bgcolor=#B7E9FF>
  177.     <TABLE cellspacing=0 cellpadding=0 border=0><TR><TD width=686 height=3></TD></TR></TABLE>
  178.     </td>
  179. </tr>
  180. </table>
  181. <!--footer begins -->        
  182. <table cellspacing=0 cellpadding=0 border=0 width="100%">
  183.  
  184. <tr><td align=center height=65><font class="sb2 f13">Copyright &copy; 2011 Rediff.com India Limited. All rights reserved.<br><a 
  185.  
  186. href="http://in.rediff.com/disclaim.htm" target="_blank">Disclaimer</a> | <a href="http://www.rediff.com/r/r/ft6" target="_blank">Privacy Policy</a></font></td></tr>
  187. </table>
  188. <!--footer ends -->
  189. </form>
  190. </body>
  191. </head>
Mar 21 '11 #1
1 14319
MusoFreak200
96 New Member
it looks like you have not been submitting the username and password into a database of sorts
e.g. apache, or mysql
Jun 9 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

8
12698
by: Steve Fitzgerald | last post by:
The below login script does work. The form does not seem to be submitting. I keep getting the username and password fields. The only errors I get are notices that email and password and undefined indexes. Here's the login script: <?php session_start(); // includes
3
2879
by: koolyio | last post by:
Hey, could you please tell me what is wrong with my login script. I just started learning php. CODE: login.php <? session_start(); header("Cache-Control: private"); ?>
1
5509
by: Wayne Smith | last post by:
Applies to: Microsoft FrontPage 2000, Microsoft Access 2000, IIS 5.0 Operating System: Microsoft Windows 2000 Professional I am trying to protect a portion of a web site by allowing users to register a username and password & then login with those details, but so far I am having only marginal success. I am far from an expert on ASP programming, indeed the code I am using comes from "Sams Teach Yourself E-Commerce Programming with ASP" but it...
2
2058
by: Tom | last post by:
I hope someone can help me figure out what's going on here. I've re-read the section on sessions at php.net and Googled this high and low but I haven't found anything that quite explains my problem. The basic problem: session data (e.g. $_SESSION) gets dropped after visitor logs in and reloads the page via a form once or twice (it seems to vary), requiring the visitor to re-login, whereupon the problem repeats itself. An outline of...
2
1759
by: dubdave | last post by:
Hi I wrote a very basic login script which acesses a mySQL database, like this:- <?php // compares values entered in login page form with mySQL database, and then directs either to protected page or to a failure page
2
2416
by: drah | last post by:
Hello not exactly sure if it is a php script problem or a database/table issue i apologize if i'mposting in wrong category. I was asked to put a login script on a site for someone and i made the database,tables needed but when you enter a username and password to register the database,table records dont write the information so when attempting to login it states name/pass dont exist here is the registration.php file if anyone can point me in the...
8
2145
tolkienarda
by: tolkienarda | last post by:
hi all i have a login script that is simplified with out any extra stuff. and it doesn't seem to work. i think the problem is something to do with session variables. but i am not sure what it is. below are the scripts in their entirety along with a description of all outputs first page - login.htm <html> <head> <title>login</title> </head> <body> <form action="login.php" method="post">
3
2095
by: bull1099 | last post by:
I designed a simple site which has a login for users to access their account page. When i had my files uploaded on a terrible hosting service site, my website I designed was fully functional. I moved my site to this newsit.es host service because it is ten times better but my login script wont work anymore. I believe it has to do with the settings not allowing sessions. Does this sound right? I tried hundreds of times and it kept sending me...
12
2344
by: lamez | last post by:
I have a login script that use to work, but for some reason it does not work now! You guys can test it here: http://lamezz.com/_NEW/login.php USER: test PASS: test it uses a script that is in the bin folder, and the members pages has a PHP code in it to tell the script to give access to the user.
0
9561
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9381
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9332
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.