|
-
May 29th, 2002, 01:48 PM
#1
Thread Starter
Addicted Member
Redirect
Whats the code to redirect someone to a different web page?
-
May 29th, 2002, 01:51 PM
#2
Black Cat
HTTP header:
Location: http://www.google.com
or a relative URL. What language are you using?
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
May 29th, 2002, 02:15 PM
#3
Thread Starter
Addicted Member
-
May 29th, 2002, 02:47 PM
#4
Frenzied Member
Put this in the head:
Code:
<meta http-equiv="refresh" content="5; url=Home.htm">
Change the 5 to the seconds you want, and the url to, erm the URL you want I should mention that this doesn't work on every browser so make sure you provide a link too. You could also add a JavaScript to redirect the page too, to add extra security
-
May 30th, 2002, 03:50 AM
#5
Fanatic Member
on method of acheiving this in javascript: -
Code:
document.location.href='page2.html';
-
Jun 1st, 2002, 05:16 AM
#6
New Member
another method
<script>window.location=URL</script>
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
|