suntzux Posted December 26, 2006 Share Posted December 26, 2006 Hi everyone,I have been tinkering with php for only a short time but I'm really starting to get into it. Anyway, I was wondering if any of you knew if something like this was possible with PHP or would I have to learn a different language in combination?I want to know if it's possible to have a page reload a predetermined page based on the current date and time. So lets say its December 26th, at 4:40pm.. it loads boringstuff.htm and then say at December 26th at 4:40:30 pm, it loads surprise.htm hehe or something like that.. and then so on...I have been told you can do this with java, but is it possible to do something like that server side with php? I'm still not too familar with how php handles time, etc.Thanks in advance guys this forum has been a great help getting me past my early questions. :) Link to comment https://forums.phpfreaks.com/topic/31903-close-encounters-of-the-newb-kind/ Share on other sites More sharing options...
AV1611 Posted December 26, 2006 Share Posted December 26, 2006 no problem. You just need to make a table or something with the page names and times and put a php clause at the head of the page to load that page Link to comment https://forums.phpfreaks.com/topic/31903-close-encounters-of-the-newb-kind/#findComment-148061 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.