I don't think you can do that with meta refresh. Every ten seconds, sure. But, there is no way to pass along to the next load a count of how many times this is taking place. Javascript can do that though, put this script in the head of your page:
Code:
<script type="text/javascript">
function get(key_str) {
var query = window.location.search.substr(1);
var pairs = query.split("&");
for(var i = 0; i < pairs.length; i++) {
var pair = pairs[i].split("=");
if(unescape(pair[0]) == key_str)
return unescape(pair[1]);
}
return '0';
}
if(get('ld')*1<101)
setTimeout("window.location.replace(window.location.href.split('?')[0]+'?ld='+[get('ld')*1+10])", 10000);
else
window.location.replace('http://www.dynamicdrive.com/');
</script>
You probably should also include for non-javascript enabled browsers a meta refresh tag with the final destination:
HTML Code:
<meta http-equiv="refresh" content="100;url=http://www.dynamicdrive.com/">
Bookmarks