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? 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. 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 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
Archived
This topic is now archived and is closed to further replies.