|
-
Nov 27th, 2000, 06:25 AM
#1
Thread Starter
Addicted Member
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 ?
-
Nov 27th, 2000, 06:50 AM
#2
Frenzied Member
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>
-
Nov 27th, 2000, 12:09 PM
#3
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]
-
Nov 28th, 2000, 03:07 AM
#4
Frenzied Member
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.
-
Nov 28th, 2000, 04:49 AM
#5
Conquistador
how do you convert to and from hex?
-
Nov 28th, 2000, 04:49 AM
#6
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.
-
Nov 28th, 2000, 04:53 AM
#7
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]
-
Nov 28th, 2000, 04:59 AM
#8
Conquistador
-
Nov 28th, 2000, 05:05 AM
#9
Frenzied Member
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!!
-
Nov 28th, 2000, 05:14 AM
#10
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|