I know how to get the URL of what site they're at but not the site title, does anyone know how? This is how I do the URL.

Code:
if (!isset($_SERVER['HTTP_REFERER'])) {  
  $url = "Unknown"; 
  }
else { 
  $url = $_SERVER['HTTP_REFERER']; 
  }