September 2nd, 2000, 11:35 PM
Hi, I'd like to know if there is a way in (PHP) in which you can redirect somone to a certain page as soon a couple of words have loaded on a page.. ex.( 'blahlballblblbl' and at the same time it will redirect to that 'certain' site.
Can somone please show me how?( in php of course)
September 3rd, 2000, 03:46 AM
There's 2 ways to do this, and neither include any PHP. The first one is to insert a META Refresh tag, eg:
<META http-equiv="refresh" content="5;URL=http://www.server.com/newpage.htm"><BR><BR>You will be redirected to so-and-so page in 5 seconds.
setTimeout(5000,'top.location.href = http://www.server.com/newpage.htm');
</script>You will be redirected in 5 seconds to so-and-so page.
To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson