Mr_J Posted November 19, 2010 Share Posted November 19, 2010 Just wondering, When I use: <meta http-equiv="refresh" content="3; URL=index.php"> What if some user is using dial-up ? will 3 seconds be enough? Quote Link to comment Share on other sites More sharing options...
Mr_J Posted November 19, 2010 Author Share Posted November 19, 2010 Just wondering, When I use: <meta http-equiv="refresh" content="3; URL=index.php"> So 5 secons is ok I guess... I have a new problem. When I use the meta refresh in the head, only 1 page keeps refreshing every 5 seconds. So I tried some php header functions to no avail. Then I went back to the meta tag and in the page it loads, buynow.php, I added stop(); Same problem. Is there a way to stop the page from refreshing? What if some user is using dial-up ? will 3 seconds be enough? Quote Link to comment Share on other sites More sharing options...
Minimeallolla Posted November 20, 2010 Share Posted November 20, 2010 you could use it in an if statement that would only run the script once? print("<meta http-equiv='Refresh' content='0;index.php' />"); Quote Link to comment Share on other sites More sharing options...
Mr_J Posted November 22, 2010 Author Share Posted November 22, 2010 Thanks 4 the reply, I simply changed my script to header=page.php header("location:buynow.php"); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.