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? Link to comment https://forums.phpfreaks.com/topic/219169-meta-redirect-time/ 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? Link to comment https://forums.phpfreaks.com/topic/219169-meta-redirect-time/#findComment-1136653 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' />"); Link to comment https://forums.phpfreaks.com/topic/219169-meta-redirect-time/#findComment-1137038 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"); Link to comment https://forums.phpfreaks.com/topic/219169-meta-redirect-time/#findComment-1137845 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.