Hi,
I would really like to make a page that loads content based on the time the client goes to the page, for example a "day page" and a "night page".
I realize that polling the client's time from the browser might be tricky, so i'll settle for server time, but the thing is i need a 24 hour clock not the UNIX clock.
here is the code that I have thus far: (it dosen't work)
<?php
$time = array();
$time = gettimeofday();
$hour = makeHour($time);
if ($hour >= 19){
$flashFile = "LOSPC1TESTING.swf";
} else {
$flashFile = "LOSPC1TESTING.swf";
}
?>
the 19 in this is just a place holder for 7pm
PLEASE HELP ME!!!!!!!!!