Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!

Sample 503 - Stop SOPA

By: Ipstenu on Jan 16th, 2012  |  syntax: PHP  |  size: 2.43 KB  |  views: 206  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /* Tell search engines that the site is temporarily unavilable */
  3. $protocol = $_SERVER["SERVER_PROTOCOL"];
  4. if ( 'HTTP/1.1' != $protocol && 'HTTP/1.0' != $protocol ) $protocol = 'HTTP/1.0';
  5. header( "$protocol 503 Service Unavailable", true, 503 );
  6. header( 'Content-Type: text/html; charset=utf-8' );
  7. ?>
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  9. <html xmlns="http://www.w3.org/1999/xhtml">
  10. <head>
  11.         <title>BLACKED OUT</title>
  12.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  13.         <style type="text/css">
  14.         body {
  15.                 background: black;
  16.                 color: #eee;
  17.                 font-family: Helvetica;
  18.                 font-size: 1.2em;
  19.                 }
  20.         </style>
  21. </head>
  22. <body>
  23.  
  24. <div style="width: 960px; margin: 0 auto;">
  25. <center><h2>This website is...</h2>
  26.  
  27. <h1>BLACKED OUT!</h1></center>
  28.  
  29. <p>In protest of pending US legislation, which threatens the freedoms of websites like this one and the freedoms of the people who use them, this site is offline on January 18th, 2012 from 8am to 8pm Chicago Standard Time.</p>
  30.  
  31. <center><iframe src="http://player.vimeo.com/video/31100268?byline=0&amp;portrait=0" width="532" height="299" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></center>
  32.  
  33. <p>According to SOPA and it's friend, PIPA, if someone posts a comment on a site that is seen as copyright infrigment, they can shut down any site. Forever. That's right, the whole site would be gone, and people would be off to court if not jail. Imagine life without websites, becuase without trial or warning, it was taken away from all of us. Just like that.</p>
  34.  
  35. <p>This is not an exageration. SOPA and PIPA want to stop internet piracy the <em>wrong</em> way. This will cripple the economy at the worst time possible, this will stifle inovation. This will make a world where a meme post can destroy a website. The worst part is that even though it looks like SOPA and PIPA are dead in the water, the Senate's PROTECT-IP Bill is still in the pipeline, as is OPEN. All these bills propose to <em>protect</em> us, but in reality they won't</p>
  36.  
  37. <p>Please <a href="http://americancensorship.org/">help protect our free speech</a> against the corporate and political interests which seek to take them away!</p>
  38.  
  39. <p>We'll be back to normal at 8pm CST.</p>
  40.  </div>
  41.  
  42. <?php
  43. die();
  44. ?>