rdsedmundo

redirect.php

Apr 30th, 2012
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. <?php
  2. if(!isset($_GET['pastebin_id'])) {
  3. @header('Location: http://pastebin.com/u/Kyl3');
  4. } else {
  5. @header('Location: http://pastebin.com/'.addslashes(strip_tags($_GET['pastebin_id'])));
  6. };
  7. ?>
Advertisement
Add Comment
Please, Sign In to add comment