Results 1 to 10 of 10

Thread: Redirect Page

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 1999
    Location
    London, England
    Posts
    213
    After successful registration my users are redirected to my homepage. How can I redirect them to a successful registration page which holds for 5 seconds informing them of successfull registration and then redirects them to the homepage ?

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    try this:
    Code:
    <HEAD>
    <SCRIPT LANGUAGE="JavaScript"><!--
    setTimeout("top.location.href = 'http://www.somewhere.com/'",5000);
    //--></SCRIPT>
    
    
    </HEAD>
    <body>
    <h2>Regitration sucsesfil or whatever</h2>
    
    Please wait ....
    
    </body>
    Mark
    -------------------

  3. #3
    Guest
    Heh, heh... Javascript's cool...but not always supoported or enabled...here's another way to do it:
    Code:
    <html>
      <head>
        <me*ta ht*tp-equ*iv="Ref*resh" Cont*ent="5; ur*l=http://www.mralston.co.uk">
      </head>
    </html>
    (Remove the asterisks (*) from the above code...I put them in there to help netscape overcome its incompetance. )

    Hey, Mark...what's 4D61726B2053726565766573 mean?

    [Edited by matthewralston on 11-28-2000 at 05:16 AM]

  4. #4
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    matthew

    4D61726B2053726565766573 is just the ASCII for Mark Sreeves in hex.

    I used to have it in binary but the spacing was all 'to pot' with a string of 1s and 0s.
    Mark
    -------------------

  5. #5
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    how do you convert to and from hex?

  6. #6
    Guest
    Ah right...
    I used to use:

    11101001110001010

    As a password...it was meant to be MRGI in binary if A=1=1, B=2=10, C=3=11...

    MRGI was my initials, and the initials of a lad I used to work with in my crappy IT lessons at school...

    Then I realised that I'd worked it out wrong and couldn't be bothered re-memorizing the correct version...besides, I thought 11101001110001010 had a nice ring to it and it was the kinda password that you could happily tell anyone who asked...I could say it quick enough that they'd never remember it.

  7. #7
    Guest
    Use the Windows Calculator in "Scientific" mode...it'll convert to and from HEX, Binary & standard numbers.

    Um...I just tried Mark's lil number tho an it didn't do all of it Use a hex/text editor instead.

    [Edited by matthewralston on 11-28-2000 at 04:55 AM]

  8. #8
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    ok...

  9. #9
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    in VB:

    Code:
    Option Explicit
    
    Private Sub Command1_Click()
    Dim strTemp As String
    Dim strOut As String
    Dim i As Integer
    strTemp = "Mark Sreeves"
    
    For i = 1 To Len(strTemp)
      strOut = strOut & Hex(Asc(Mid(strTemp, i)))
    Next
    Debug.Print strOut
    End Sub

    I always use Netscape to view VB-World because it load faster than IE5 anyway, it does strange things though.

    When I refreshed this page it invoked Mathew's redirect code and I got transfered to his home page!!
    Mark
    -------------------

  10. #10
    Guest

    Talking

    Yay! Go Mozilla!!! He he he.

    Have sabotaged the code that got ya.

    Upgrade to Netscape 6 Mark...it's bound have less of the bugs in 4.02 that you're using and have a few different ones instead.

    [Edited by matthewralston on 11-28-2000 at 05:37 AM]

Posting Permissions

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



Click Here to Expand Forum to Full Width