WingMaker Posted April 30, 2010 Share Posted April 30, 2010 Is there a waiting time or something once you run a php file in a browser? Why can't it run probably by refreshing the url, right after I run it? Is there something I need to do or write? thanks WING Link to comment https://forums.phpfreaks.com/topic/200309-refresh-php-file/ Share on other sites More sharing options...
Ken2k7 Posted April 30, 2010 Share Posted April 30, 2010 Huh? Link to comment https://forums.phpfreaks.com/topic/200309-refresh-php-file/#findComment-1051205 Share on other sites More sharing options...
947740 Posted April 30, 2010 Share Posted April 30, 2010 I don't know what you're talking about. There is no way I know of to directly refresh the page. You can, though use the header function: header("Location current_file.php"); Also you can find the current file name by using this: $current_file = $_SERVER['PHP_SELF']; Link to comment https://forums.phpfreaks.com/topic/200309-refresh-php-file/#findComment-1051206 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.