How could I send a username and password to another site?

Discussion in 'Programming' started by thudufushi, Feb 6, 2007.

  1. #1
    Hi,

    Can someone more technical than I help with this, I need to have a html page with a simple username and password box with a submit button. I then want the username / password to be sent to login to a service on another site.

    I think I need a bit of javascript but not sure how to do it, if anyone can help id be very grateful.

    Cheers
    S
     
    thudufushi, Feb 6, 2007 IP
  2. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #2
    post your form and the site the form has to work with .....
     
    krakjoe, Feb 6, 2007 IP
  3. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #3
    Just copy the html form form the other site to your site and change the action of the form.

    Peace,
     
    Barti1987, Feb 6, 2007 IP
  4. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #4
    A more better way to send variables from one site to another is webservices.
     
    designcode, Feb 7, 2007 IP
  5. thudufushi

    thudufushi Well-Known Member

    Messages:
    1,145
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    155
    #5
    Many thanks guys.

    Appreciated
    Cheers
     
    thudufushi, Feb 8, 2007 IP