...

View Full Version : Redirect Page Script in PHP



scripts99
03-04-2010, 10:40 AM
<form name="Instant Ranking Seo">
<center>
<font face="Arial"><b>You will be redirected to the script in<br><br>
<form>
<input type="text" size="3" name="redirect2">
</form>
seconds</b></font>
</center>

<script>
<!--

/*
Count down then redirect script
By JavaScript Kit (yourwebsitename)
Over 400+ free scripts here!
*/

//change below target URL to your own
var targetURL="yourwebsitename"
//change the second to start counting down from
var countdownfrom=10


var currentsecond=document.redirect.redirect2.value=countdownfrom+1
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.redirect.redirect2.value=currentsecond
}
else{
window.location=targetURL
return
}
setTimeout("countredirect()",1000)
}

countredirect()
//-->
</script>

_Aerospace_Eng_
03-04-2010, 10:42 AM
So what is your question? Also that is javascript not php.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum