+ Post New Thread
Results 1 to 6 of 6
Coding Thread, Doesn't work! Anyone see a problem with this code?[CLOSED] in Coding and Web Development; <form action="http://www.independence.co.uk/issues-online/login" method="post" name="logIn" target="_blank"> <INPUT type="hidden" maxLength="19" value="*******" name="username"> <INPUT type="hidden" value="********" name="password"> <INPUT type="hidden" value="1" name="process"> <A href="http://www.independence.co.uk/issues-online/login">Iss ...
  1. #1

    Join Date
    Dec 2009
    Location
    london
    Posts
    102
    Thank Post
    29
    Thanked 6 Times in 6 Posts
    Rep Power
    11

    Doesn't work! Anyone see a problem with this code?[CLOSED]

    <form
    action="http://www.independence.co.uk/issues-online/login"
    method="post" name="logIn" target="_blank"> <INPUT
    type="hidden" maxLength="19" value="*******"
    name="username">
    <INPUT type="hidden" value="********" name="password">
    <INPUT
    type="hidden" value="1" name="process"> <A
    href="http://www.independence.co.uk/issues-online/login">Iss
    ues On-line Login</A>
    </form>

    It doesn't login it just takes me to login page, what am I doing wrong?
    (username and password ****** on purpose)

  2. #2
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    54
    You need a submit button to actually login like this
    Code:
    <input type="submit" name="submitBtn" value="Login" class="submit">

  3. #3

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,617
    Thank Post
    514
    Thanked 2,442 Times in 1,890 Posts
    Blog Entries
    24
    Rep Power
    831
    Quote Originally Posted by cromertech View Post
    You need a submit button to actually login like this
    Code:
    <input type="submit" name="submitBtn" value="Login" class="submit">
    To further that, you should replace the <A href> part with the button.

  4. Thanks to localzuk from:

    10101010 (29th April 2010)

  5. #4
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    54
    This is what you need to log in to that site just fill in your values
    Code:
    <form action="http://www.independence.co.uk/issues-online/login" method="post">
    <input name="username" type="hidden" class="text-box" value="*********">
    <input name="password" type="hidden" class="text-box" value="*********">
    <input type="hidden" name="process" value="1"><input type="hidden" name="attempted_page" value="">
    <input type="submit" name="submitBtn" value="Login" class="submit">

  6. Thanks to cromertech from:

    10101010 (29th April 2010)

  7. #5
    Silvor's Avatar
    Join Date
    Oct 2007
    Posts
    122
    Thank Post
    18
    Thanked 15 Times in 10 Posts
    Rep Power
    16
    Quote Originally Posted by cromertech View Post
    This is what you need to log in to that site just fill in your values
    Code:
    <form action="http://www.independence.co.uk/issues-online/login" method="post">
    <input name="username" type="hidden" class="text-box" value="*********">
    <input name="password" type="hidden" class="text-box" value="*********">
    <input type="hidden" name="process" value="1"><input type="hidden" name="attempted_page" value="">
    <input type="submit" name="submitBtn" value="Login" class="submit">
    With a closing </form> tag.

  8. Thanks to Silvor from:

    10101010 (29th April 2010)

  9. #6

    Join Date
    Dec 2009
    Location
    london
    Posts
    102
    Thank Post
    29
    Thanked 6 Times in 6 Posts
    Rep Power
    11
    worked a treat

SHARE:
+ Post New Thread

Similar Threads

  1. OWA doesn't work ar random times
    By dsquared2 in forum Windows Server 2000/2003
    Replies: 5
    Last Post: 3rd February 2010, 02:47 PM
  2. why doesn't this .adm work
    By mrbios in forum Windows
    Replies: 9
    Last Post: 13th May 2009, 12:09 PM
  3. Profiles doesn't work on new installs (50)
    By meastaugh1 in forum MIS Systems
    Replies: 0
    Last Post: 27th November 2008, 08:24 AM
  4. Apache2Triad Ė localhost doesnít work
    By FN-GM in forum Web Development
    Replies: 3
    Last Post: 24th June 2008, 05:21 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •