Skip to content

Instantly share code, notes, and snippets.

@brdrck
Created January 18, 2012 02:22
Show Gist options
  • Save brdrck/1630443 to your computer and use it in GitHub Desktop.
Save brdrck/1630443 to your computer and use it in GitHub Desktop.
<?php
date_default_timezone_set('UTC');
if(mktime(5, 0, 0, 1, 18, 2012) < time() && time() < mktime(5, 0, 0, 1, 19, 2012)) {
header("Location: /sopa/");
die();
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment