<?php // urlget.php
  if (isset($_GET['url']))
  {
    echo file_get_contents("https://" . sanitizeString($_GET['url']));
  }

  function sanitizeString($var)
  {
    $var = strip_tags($var);
    $var = htmlentities($var);
    return stripslashes($var);
  }
?>
