with the holiday (anouka and Christmas) i wanted to show different version of my site.
i want to change the images, css etc...
is there a very quick to do so? or special techniques?
my site is in php and i use apache
with the holiday (anouka and Christmas) i wanted to show different version of my site.
i want to change the images, css etc...
is there a very quick to do so? or special techniques?
my site is in php and i use apache
<?php
$christmas = "12-25";
$todays_date = date("m-d");
if($todays_date == $christmas) {
// Load a different stylesheet
} else {
// Load the stylesheet for the rest of the yeat
}
?>
This will load a different stylesheet every year on Christmas day. It can be changed to any other date by changing the $christmas
variable. I think this is what you're looking for...