<?php
$referer=$_SERVER["HTTP_REFERER"];
$url=parse_url($referer);
$ip=$_SERVER['REMOTE_ADDR'];
$host=gethostbyaddr($ip);
$referer=$_SERVER["HTTP_REFERER"];
$url=parse_url($referer);
echo "<b><u>Komplett:</u></b> ".$referer."<br>";
echo "<b><u>Url-Host:</u></b> ".$url['host']."<br>";
echo "<b><u>Url-Pfad:</u></b> ".$url['path']."<br>";
echo "<b><u>Url-Query:</u></b> ".$url['query']."<br>";
?>