SHARE
TWEET

Untitled

a guest Jan 24th, 2020 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /* Get URL */
  3. $url = isset($_GET['url']) ? $_GET['url'] : 'unknown_url_can_put_alternative_url_here';
  4.  
  5. /* Check that our url is an correct url */
  6. if (filter_var($url, FILTER_VALIDATE_URL)) {
  7.     /* Do redirect */
  8.     Header("Location: $url");
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top