Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Hi,

    I tried with with JavaScript disabled (in the browser) and it did not work. Here is the html contnet of the web page.

<MYHTML> <html> <head> <script language="JavaScript"> </script> <script language="JavaScript"> </script> <SCRIPT LANGUAGE="JavaScript"> </SCRIPT> <title>Tata Indicom Broadband</title> <link rel="shortcut icon" href="favicon.ico" > </head> <body onload="loadCookies();"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Tata Indicom Broadband</title> <link rel="shortcut icon" href="favicon.ico" > <style type="text/css"> body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } </style> <link href="/images_TIBB/TIBB.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script language="JavaScript"> // this function is called when the user clicks on logon button ,it checks the values entered by the user and it will perform savecookie duo to the user option in this function function check() { if( document.authenticateForm.user.value=='') { alert("Please enter the user name") document.authenticateForm.user.focus(); return false } else if(document.authenticateForm.ServerList.value=='select') { alert("Please select the domain") return false } else if(document.authenticateForm.password.value=='' ) { alert("Please enter the password") document.authenticateForm.password.focus(); return false } else { //calling the function saveCookie-------- saveCookie() document.getElementById("Submit").disabled = true; document.authenticateForm.submit(); } // to save or delete the cookies ------------------------------ function saveCookie() { var status=0; for( i=0;i<document.authenticateForm.save.length; i++) { if(document.authenticateForm.savei.checked) { status = document.authenticateForm.savei.value; } } if( (status == 0) || status == 1) { setCookies(100,status); } else if (status == 2) { //calling the function deleteCookies------------------ deleteCookies("myCookie"); } } // to delete the cookies ----------------------- function deleteCookies(name) { // detectPopupBlocker(); if (getCookie(name)) { document.cookie = name + "=" +"; expires=Thu, 01-Jan-70 00:00:01 GMT"; } document.authenticateForm.username.value = document.authenticateForm.user.value+"@"+document.authenticateForm.ServerList.value; } //save the cookies and it's expire date ------------------------ function setCookies(expiredays,selectValue) { var ExpireDate = new Date(); var values = null; ExpireDate.setTime(ExpireDate.getTime() + (expiredays * 24*3600*1000)); if(selectValue== 0) { values = document.authenticateForm.user.value + "|" + document.authenticateForm.ServerList.value; } else if(selectValue == 1) { values =document.authenticateForm.user.value +"|" + document.authenticateForm.ServerList.value + "|" + document.authenticateForm.password.value; } document.cookie="myCookie="+escape(values) + ((expiredays == null)?"" : ";expires=" + ExpireDate.toGMTString()); if(document.authenticateForm.user.value.indexOf("@") == -1 ) { document.authenticateForm.username.value = document.authenticateForm.user.value+"@"+document.authenticateForm.ServerList.value; } else { document.authenticateForm.username.value = document.authenticateForm.user.value; } } // to get the saved cookies -------------------------- function getCookie(name) { if(document.cookie.length > 0) { begin = document.cookie.indexOf(name+"="); if(begin != -1) { begin += name.length+1; end = document.cookie.indexOf(";",begin); if(end == -1) { end = document.cookie.length; } return unescape(document.cookie.substring(begin,end)); } } /*alert("disabled"); document.getElementById("Submit").disabled = true;*/ return null; } // to load the saved cookies into the input fields ---------------- function loadCookies() { var setUser = getCookie("myCookie"); if(setUser == null) document.authenticateForm.save2.checked="checked"; if(setUser) { splitValue = setUser.indexOf("|"); if(splitValue == -1) { document.authenticateForm.user.value=setUser; document.authenticateForm.save[0].checked="checked"; } else { var username = setUser.substring(0,splitValue); document.authenticateForm.user.value = username; temp = setUser.substring(splitValue+1); tmpSplitValue = temp.indexOf("|"); if(tmpSplitValue == -1) { document.authenticateForm.ServerList.value = temp; document.authenticateForm.save[0].checked="checked"; } else { document.authenticateForm.ServerList.value = temp.substring(0,tmpSplitValue); document.authenticateForm.password.value = temp.substring(tmpSplitValue+1); document.authenticateForm.save1.checked="checked"; } } } } } </script> <script language="javascript"> function citySection() { // var dd=document.contact.city.optionsdocument.contact.city.selectedIndex.value; // document.contact.number.value=dd; var dd=document.authenticateForm.city.optionsdocument.authenticateForm.city.selectedIndex.value; document.authenticateForm.number.value=dd; } </script> </head> <body> <form name="authenticateForm" action=" https://loginban.tataindicombroadband.in:8443/user/refresh/home?user=&ServerList=vsnl.net&save=2&Submit=Login&city=Select+City&number=&t=grfd9f9g" method="post">
<img src="/images_TIBB/tclsl_logo.jpg" width="262" height="50" border="0" /> <img src="/images_TIBB/tata_bb_logo.jpg" width="44" height="37" border="0" />
Welcome to Tata Communications
Broadband Solution
Tata Communications Broadband Solution offers you Broadband, Wi-Fi and Dial-up with a single User Name and Password. You can also enjoy Global Roaming and Business Applications and Solutions like Security & Storage, Domain Registration, Web Solutions, Collaboration, Communications and lots more...  
 
Customer Service
 
Select City <select name="city" onchange="citySection()"> <option selected="selected">Select City</option> <option value="079 60607070">Ahmedabad</option> <option value="0240 6622002">Aurangabad</option> <option value="080 60607070">Bangalore</option> <option value="0265 6060707">Baroda</option> <option value="0755 4250121">Bhopal</option> <option value="0495 2727720">Calicut</option> <option value="0172 2236108/109 ">Chandigarh</option> <option value="044 60607070">Chennai</option> <option value="0422 6608282">Coimbatore</option> <option value="0484 2421720">Cochin</option> <option value="011 60607070">Delhi</option> <option value="0484 2421720">Ernakulam</option> <option value="011 60607070">Faridabad</option> <option value="079 60607070">Gandhinagar</option> <option value="011 60607070">Ghaziabad</option> <option value="011 60607070">Gurgaon</option> <option value="040 60607070">Guntur</option> <option value="0832 2783121">Goa</option> <option value="040 60607070">Hyderabad</option> <option value="0731 4020121">Indore</option> <option value="0141 5118765">Jaipur</option> <option value="040 60607070">Kanchipuram</option> <option value="0497 2709471">Kannur</option> <option value="0891 6668282 ">Kakinada</option> <option value="0231 2660121">Kolhapur</option> <option value="033 60607070">Kolkata</option> <option value="0522 6500560/2231707/2201997/2637513">Lucknow</option> <option value="0161 5058282">Ludhiana</option> <option value="0452 6540121">Madurai</option> <option value="022 60607070">Mumbai</option> <option value="0821 6611121">Mysore</option> <option value="0712 2547825">Nagpur</option> <option value="0253 6601001">Nashik</option> <option value="011 60607070">Noida</option> <option value="040 60607070">Nellore</option> <option value="0413 2228765">Pondicherry</option> <option value="020 60607070">Pune</option> <option value="0891 6668282 ">Rajmundry</option> <option value="0427 6540121">Salem</option> <option value="0261 60607070">Surat</option> <option value="0487 2428765">Trichur</option> <option value="0431 6540121">Trichy</option> <option value="0471 2700295">Thiruvananthapuram</option> <option value="040 60607070">Tirupati</option> <option value="0866 6660121">Vijaywada</option> <option value="0891 6668282">Vishakhapatnam</option> </select>
 
Number <input class="pagecontent" name="number" type="text" />
 
 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="326" height="80"> <param name="movie" value="/images_TIBB/TIBB.swf" /> <param name="quality" value="high" /> <embed src="/images_TIBB/TIBB.swf" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="326" height="80"> </embed> </object>
 
<img src="/images_TIBB/sorry.jpg" height="250" width="250">  
<img src="/images_TIBB/loginheader.jpg" width="264" height="35" />  
     
  Username: <input class="bodycontent" name="user" type="text" /> <input name="username" value="user" type="hidden" />  
  @ <select id="ServerList" name="ServerList" class="bodycontent"> <option value="select">Please select domain</option> <option selected="selected" value="vsnl.net">vsnl.net</option> <option value="tcs.vsnl.net">tcs.vsnl.net</option> <option value="prepaid.vsnl.net">prepaid.vsnl.net</option> <option value="postpaid.vsnl.net">postpaid.vsnl.net</option> <option value="tvh.vsnl.net">tvh.vsnl.net</option> <option value="ss.vsnl.net">ss.vsnl.net</option> <option value="vsnl.co.in">vsnl.co.in</option> <option value="ad1.vsnl.net.in">ad1.vsnl.net.in</option> <option value="postpaid.eth.net">postpaid.eth.net</option> <option value="bgl.vsnl.net.in">bgl.vsnl.net.in</option> <option value="blr.vsnl.net.in">blr.vsnl.net.in</option> <option value="bom1.vsnl.net.in">bom1.vsnl.net.in</option> <option value="bom2.vsnl.net.in">bom2.vsnl.net.in</option> <option value="bom3.vsnl.net.in">bom3.vsnl.net.in</option> <option value="bom4.vsnl.net.in">bom4.vsnl.net.in</option> <option value="bom5.vsnl.net.in">bom5.vsnl.net.in</option> <option value="bom6.vsnl.net.in">bom6.vsnl.net.in</option> <option value="bom7.vsnl.net.in">bom7.vsnl.net.in</option> <option value="bom8.vsnl.net.in">bom8.vsnl.net.in</option> <option value="bom9.vsnl.net.in">bom9.vsnl.net.in</option> <option value="cal.vsnl.net.in">cal.vsnl.net.in</option> <option value="cal2.vsnl.net.in">cal2.vsnl.net.in</option> <option value="cal3.vsnl.net.in">cal3.vsnl.net.in</option> <option value="del1.vsnl.net.in">del1.vsnl.net.in</option> <option value="del2.vsnl.net.in">del2.vsnl.net.in</option> <option value="del3.vsnl.net.in">del3.vsnl.net.in</option> <option value="del5.vsnl.net.in">del5.vsnl.net.in</option> <option value="del6.vsnl.net.in">del6.vsnl.net.in</option> <option value="eth.net">eth.net</option> <option value="giasbg01.vsnl.net.in">giasbg01.vsnl.net.in</option> <option value="giasbm01.vsnl.net.in">giasbm01.vsnl.net.in</option> <option value="giasbma.vsnl.net.in">giasbma.vsnl.net.in</option> <option value="giasbmb.vsnl.net.in">giasbmb.vsnl.net.in</option> <option value="giasbmc.vsnl.net.in">giasbmc.vsnl.net.in</option> <option value="giascl01.vsnl.net.in">giascl01.vsnl.net.in</option> <option value="giasdl01.vsnl.net.in">giasdl01.vsnl.net.in</option> <option value="giasdl02.vsnl.net.in">giasdl02.vsnl.net.in</option> <option value="giasmd01.vsnl.net.in">giasmd01.vsnl.net.in</option> <option value="giaspn01.vsnl.net.in">giaspn01.vsnl.net.in</option> <option value="jla.vsnl.net.in">jla.vsnl.net.in</option> <option value="mail.vsnl.com">mail.vsnl.com</option> <option value="md1.vsnl.net.in">md1.vsnl.net.in</option> <option value="md2.vsnl.net.in">md2.vsnl.net.in</option> <option value="md3.vsnl.net.in">md3.vsnl.net.in</option> <option value="md4.vsnl.net.in">md4.vsnl.net.in</option> <option value="md5.vsnl.net.in">md5.vsnl.net.in</option> <option value="nda.vsnl.net.in">nda.vsnl.net.in</option> <option value="ndb.vsnl.net.in">ndb.vsnl.net.in</option> <option value="ndc.vsnl.net.in">ndc.vsnl.net.in</option> <option value="nde.vsnl.net.in">nde.vsnl.net.in</option> <option value="ndf.vsnl.net.in">ndf.vsnl.net.in</option> <option value="pn1.vsnl.net.in">pn1.vsnl.net.in</option> <option value="pn2.vsnl.net.in">pn2.vsnl.net.in</option> <option value="pn3.vsnl.net.in">pn3.vsnl.net.in</option> <option value="vsnl.com">vsnl.com</option> <option value="vsnl.in">vsnl.in</option> </select>  
  Password: <input name="password" class="bodycontent" type="password" />  
    <input name="Submit" id="Submit" value="Login" onclick="return check();" type="submit" />  
    Forgot Password  
 
<input name="save" value="0" type="radio" /> Save Username
<input name="save" value="1" type="radio" /> Save Username and Password
<input checked="checked" name="save" value="2" type="radio" /> Dont Save Username or Password
 
 
  RechargeConnection Easy Payments
     
  <img src="/images_TIBB/renewimage.gif" width="34" height="45" /> Recharge Now <img src="/images_TIBB/creditcard.gif" width="49" height="40" /> Payment
Options
How to Recharge
<HTML> <head> <link href="/images_TIBB/TIBB.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <BODY>
 
 
 
Tata Communications offers a range of SME connectivity services and applications To know more about these click below
<img src="/images_TIBB/ill_icon_2.gif" width="49" height="47" border="0" /> <img src="/images_TIBB/voip_icon_2.gif" width="49" height="47" border="0" /> <img src="/images_TIBB/security_icon_2.gif" width="49" height="47" border="0" /> <img src="/images_TIBB/bb_icon_2.gif" width="49" height="47" border="0" /> <img src="/images_TIBB/biz_apps_icon_2.gif" width="49" height="47" border="0" /> <img src="/images_TIBB/instacc_icon_2.gif" width="49" height="47" border="0" /> <img src="/images_TIBB/domain_icon_2.gif" width="49" height="47" border="0" /> <img src="/images_TIBB/office_tools_icon_2.gif" width="49" height="47" border="0" /> <img src="/images_TIBB/insta_office_icon2.gif" width="49" height="47" border="0" />
ILL VoIP SECURITY & STORAGE BROADBAND BIZ APPS INSTACC DOMAINS & HOSTING OFFICE TOOLS Insta Office
               
Copyright © 2011 Tata Communications Ltd. All Rights Reserved.
</BODY> </HTML> </form> </body> </html> </body> </html> <MYHTML>


In reply to Re^2: Unable to login to a secure webpage by prakash.ramesh
in thread Unable to login to a secure webpage by prakash.ramesh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (2)
    As of 2018-07-22 18:56 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















      Results (455 votes). Check out past polls.

      Notices?