I am trying to do a redirect PHP script that redirect users based on their computer's time to a different entry page.
example
5:00am to 11:00am - page 1
11:01pm to 5pm page 2
5:01pm to 5am page 3
So far I haven't been able to figure it out and have been told that this cant be done with PHP and that JavaScript is the only way.
reference
http://www.webmastertalks.com/showthread.php?s=&threadid=158
Now I know there has to be a way to do this or else there would be no need for PHP to have time functions right?
reference link
http://www.php.net/manual/en/ref.datetime.php
Can anyone help me out here and at least tell me if this can be done or not in PHP.
Thank you for your time on this.
BP
http://www.bnkind.com
http://www.litepack.com