Jump to content

Close Encounters of the Newb Kind


suntzux

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.