How do i do this ?

Discussion in 'XML & RSS' started by electron, Jun 5, 2007.

  1. #1
    hi, i am new in the arena of Web-designing & Web-management. I know HTML, Frontpage & CSS.
    I have a few Questions, please help me out. I'm sorry if some of them are stupid questions.

    1). What language should i learn to create/put a "Tell a friend" box in my webpage ?
    2). How do I ? Save a users email-id when he subscribes for a e-magazine ?
    3). Redirect user to a different site ?

    Is all this difficult to do ?

    Hoping some people to help me out.
    Thanks in advance :)
     
    electron, Jun 5, 2007 IP
  2. ridun

    ridun Peon

    Messages:
    87
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,
    I can only answer the 3rd question. You need to put something like the following in the <body> of you source:

    <!doctype html public "-//w3c//dtd html 3.2//en">

    <html>

    <html>
    <head><meta http-equiv="Refresh" content="1; URL=http://www.internationalmark.co.uk/sendquotes.html">
    <title>words of wisdom</title>

    </head>
    <body><center><font size="+2"><font color=#ff0000>Thank you</font></font></center>
    <center><font color="#ff0000" size="+2"><center>
    Please wait</font>
    <br><br>

    Please wait 4 seconds and you will be transferred to the next page or <a href="http://www.internationalmark.co.uk/sendquotes.html"><font color="#0000ff">click here</font></a> to go now!</center>

    </body>
    </html>



    This is from one of my pages. I have left the address in, but you will have to change it to your destination address.

    To see how it works for me, you can see it at: www.internationalmark.co.uk/wise.html

    It says please wait for 4 seconds, but it actually redirects after 1 second. If you want it to take longer you should change the number in "Refresh" content="1; at the beginning.

    Good luck!
     
    ridun, Jun 9, 2007 IP
  3. Xabber

    Xabber Active Member

    Messages:
    437
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #3
    1. PHP
    2. Use write function within PHP.
    3. Already answered above.
     
    Xabber, Jun 9, 2007 IP
  4. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #4
    For the 3rd question, the solution proposed is making redirection on client side.
    Is also possible to make redirection on server side. You need to write a redirection line on your .htaccess file.
     
    ajsa52, Jun 14, 2007 IP