Errant_Shadow Posted October 30, 2009 Share Posted October 30, 2009 I'm trying to write a script that will refresh the page after it's completion. I know how to use the header() function, but that can no longer be used once the headers are sent and the page is loaded, and since my function executes from within the HTML, I have to find a different way. I'd like to avoid java so paranoid surfers don't break my script, but if there's no other way then I will. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/179567-solved-page-refresh-as-part-of-a-function/ Share on other sites More sharing options...
Alex Posted October 30, 2009 Share Posted October 30, 2009 You can use a meta refresh. Quote Link to comment https://forums.phpfreaks.com/topic/179567-solved-page-refresh-as-part-of-a-function/#findComment-947533 Share on other sites More sharing options...
Errant_Shadow Posted October 30, 2009 Author Share Posted October 30, 2009 That'll work. Thank you Quote Link to comment https://forums.phpfreaks.com/topic/179567-solved-page-refresh-as-part-of-a-function/#findComment-947543 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.