$pfad = $_SERVER['HTTP_REFERER']; if (strlen($pfad )>0) { $handle = fopen ($pfad,"r"); while($file=fgets($handle,1024)) { $content2 .= $file; } fclose ($handle); $content = strstr($content2,""); $ende = strstr($content,""); $ende = strlen($content)-strlen($ende); $content = substr($content,0,$ende); echo '
Druckversion der Seite: ' . $_SERVER['HTTP_REFERER'];
echo '
© 2011 by CMOS GmbH / Wesseloh.de';
echo '