Form Question - appending to default url when posting

Discussion in 'JavaScript' started by AndyJay, Jun 22, 2006.

  1. #1
    Hi All
    I'm trying to figure out how to do this:

    I have a form where i want the user to enter their domain name in a form. The form then takes them to their webmail url on a new page.
    The first part of the url will be the same, i.e. http:mail.
    When the user enters their doamin i.e. mydomain.com i want the actual url to be http://mail.mydomain.com

    Hope this makes sense and someone can help!

    Thanks in advance
    Andy :cool:
     
    AndyJay, Jun 22, 2006 IP
  2. frankcow

    frankcow Well-Known Member

    Messages:
    4,859
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    180
    #2
    just do a string replace, and redirect
    pretty simple stuff, no matter what language you use
     
    frankcow, Jun 22, 2006 IP