Skip to content

Instantly share code, notes, and snippets.

@dave1010
Created April 1, 2011 06:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dave1010/897828 to your computer and use it in GitHub Desktop.
Save dave1010/897828 to your computer and use it in GitHub Desktop.
April test
php_value auto_prepend_file fool.php
<?php
if ($_SERVER['REQUEST_METHOD'] === 'GET' && rand(1, 10) > 9) {
header('Location: http://www.youtube.com/watch?v=EK2tWVj6lXw');
die();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment