DJTim666 Posted June 29, 2007 Share Posted June 29, 2007 Ok, I coded an upload system, and a pagination script. These 2 things are linked together so when you upload something it gets displayed on the pagination page. Now I want to make it so if the upload page is executed, then refresh the pagination page. Is this possible? Link to comment https://forums.phpfreaks.com/topic/57790-refreshing/ Share on other sites More sharing options...
cooldude832 Posted June 29, 2007 Share Posted June 29, 2007 just an idea but try echoing <META HTTP-EQUIV=Refresh CONTENT=".5; URL=http://www.yoursite.com/yoururl.php"> and then set a session and then if the session isn't set then it won't refresh, make sense? Link to comment https://forums.phpfreaks.com/topic/57790-refreshing/#findComment-286270 Share on other sites More sharing options...
DJTim666 Posted June 29, 2007 Author Share Posted June 29, 2007 Would I echo that statement on the page after they upload something? And why would I need a session ??? I'm confuzzled. Link to comment https://forums.phpfreaks.com/topic/57790-refreshing/#findComment-286275 Share on other sites More sharing options...
cooldude832 Posted June 29, 2007 Share Posted June 29, 2007 na make your upload a function and then at the end of it tack on the meta refresh and the session and then have at the top if(!ISSET($_SESSION['refresh'])){ upload(); } else { pageload(); } Link to comment https://forums.phpfreaks.com/topic/57790-refreshing/#findComment-286277 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.