SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jul 2003
    Location
    Temuco, Chile
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question login to different servers

    Hi all

    I have a login page (login.php). In this page I have a form with a select (<select ..>) to two servers, but I want to redirect the "action" property (<form action="">) depending on the server selected by the user.

    Server #1 http://www.xxx.xxx/
    server #2 http://www.yyy.yyy/

    thanks in advance.

  2. #2
    American't awestmoreland's Avatar
    Join Date
    Sep 2002
    Location
    Grand Rapids, MI
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would this work? DEMO

    Replace the option values with the names of your different actions.
    The "Check Action" button is purely for debug purposes.


    Andy
    From the English nation to a US location.

  3. #3
    SitePoint Member
    Join Date
    Jul 2003
    Location
    Temuco, Chile
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much Andy, it's work very well

    :-)


Bookmarks

Posting Permissions

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